summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-12-29 17:00:20 +0800
committerMark Brown <broonie@linaro.org>2013-12-30 11:48:43 +0000
commitb8903eb9836e4e968d1bf9758b501de2c38cfb83 (patch)
treeaf05705292b5c44ee785e0a048524585b7a274ea /include/linux/mfd
parent03746dcbde75fc2b0ee8a9d65e3fb3efee8deb4a (diff)
downloadop-kernel-dev-b8903eb9836e4e968d1bf9758b501de2c38cfb83.zip
op-kernel-dev-b8903eb9836e4e968d1bf9758b501de2c38cfb83.tar.gz
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>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/tps65910.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mfd/tps65910.h b/include/linux/mfd/tps65910.h
index 1adeee1..16c2335 100644
--- a/include/linux/mfd/tps65910.h
+++ b/include/linux/mfd/tps65910.h
@@ -358,8 +358,6 @@
/*Register BBCH (0x80) register.RegisterDescription */
#define BBCH_BBSEL_MASK 0x06
#define BBCH_BBSEL_SHIFT 1
-#define BBCH_BBCHEN_MASK 0x01
-#define BBCH_BBCHEN_SHIFT 0
/*Register DCDCCTRL (0x80) register.RegisterDescription */
OpenPOWER on IntegriCloud