diff options
author | NeilBrown <neilb@suse.de> | 2012-05-08 15:43:59 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-05-20 11:26:58 -0400 |
commit | 9577e8c3fbc145b5d2a12d2fbc6a50031573c77d (patch) | |
tree | 8d5bcfc158a4b7c97f392d696d77eef0c160a337 /drivers/mfd | |
parent | cd4209ced4d3936cfe51b7b8833260457e2d9995 (diff) |
mfd: Define all twl-regulator feature flags in one place
twl-regulator has a collection of feature flags, some defined
in twl-core.c and one defined in i2c/twl.h.
This is confusing for anyone adding a new feature flag.
So collect them together and place them in twl.h immediately
after the structure in which they are initially set.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/twl-core.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index 7c2267e71f8..6fc90befa79 100644 --- a/drivers/mfd/twl-core.c +++ b/drivers/mfd/twl-core.c | |||
@@ -224,13 +224,6 @@ | |||
224 | #define HIGH_PERF_SQ (1 << 3) | 224 | #define HIGH_PERF_SQ (1 << 3) |
225 | #define CK32K_LOWPWR_EN (1 << 7) | 225 | #define CK32K_LOWPWR_EN (1 << 7) |
226 | 226 | ||
227 | |||
228 | /* chip-specific feature flags, for i2c_device_id.driver_data */ | ||
229 | #define TWL4030_VAUX2 BIT(0) /* pre-5030 voltage ranges */ | ||
230 | #define TPS_SUBSET BIT(1) /* tps659[23]0 have fewer LDOs */ | ||
231 | #define TWL5031 BIT(2) /* twl5031 has different registers */ | ||
232 | #define TWL6030_CLASS BIT(3) /* TWL6030 class */ | ||
233 | |||
234 | /*----------------------------------------------------------------------*/ | 227 | /*----------------------------------------------------------------------*/ |
235 | 228 | ||
236 | /* is driver active, bound to a chip? */ | 229 | /* is driver active, bound to a chip? */ |