regulator: tps65910: Simplify setting enable_mask for regulators
authorAxel Lin <axel.lin@ingics.com>
Sun, 29 Dec 2013 09:00:20 +0000 (17:00 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 30 Dec 2013 11:48:43 +0000 (11:48 +0000)
commitb8903eb9836e4e968d1bf9758b501de2c38cfb83
treeaf05705292b5c44ee785e0a048524585b7a274ea
parent03746dcbde75fc2b0ee8a9d65e3fb3efee8deb4a
regulator: tps65910: Simplify setting enable_mask for regulators

BBCH_BBCHEN_MASK is equivalent to TPS65910_SUPPLY_STATE_ENABLED.
So all regulators have the same enable_mask setting.

BBCH_BBCHEN_MASK and BBCH_BBCHEN_SHIFT are not used now, remove them.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/tps65910-regulator.c
include/linux/mfd/tps65910.h