[PATCH 1/5] drivers/regulator: Remove dead CONFIG_TWL4030_ALLOW_UNSUPPORTED

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christian Dietrich
Date: Wednesday, July 14, 2010 - 7:04 am

CONFIG_TWL4030_ALLOW_UNSUPPORTED doesn't exist in Kconfig and is never
defined anywhere else, therefore removing all references for it from
the source code.

Signed-off-by: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
---
 drivers/regulator/twl-regulator.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c
index 7e5892e..8843927 100644
--- a/drivers/regulator/twl-regulator.c
+++ b/drivers/regulator/twl-regulator.c
@@ -244,11 +244,7 @@ static int twlreg_set_mode(struct regulator_dev *rdev, unsigned mode)
  * VAUX3 at 3V is incorrectly listed in some TI manuals as unsupported.
  * TI are revising the twl5030/tps659x0 specs to support that 3.0V setting.
  */
-#ifdef CONFIG_TWL4030_ALLOW_UNSUPPORTED
-#define UNSUP_MASK	0x0000
-#else
 #define UNSUP_MASK	0x8000
-#endif
 
 #define UNSUP(x)	(UNSUP_MASK | (x))
 #define IS_UNSUP(x)	(UNSUP_MASK & (x))
-- 
1.7.0.4

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/5] drivers/regulator: Remove dead CONFIG_TWL4030_ ..., Christian Dietrich, (Wed Jul 14, 7:04 am)
[PATCH 2/5] drivers/mfd: Remove dead CONFIG_TWL4030_MADC, Christian Dietrich, (Wed Jul 14, 7:04 am)
[PATCH 3/5] drivers/rtc: Remove unneeded ifdef CONFIG_PM, Christian Dietrich, (Wed Jul 14, 7:04 am)
[PATCH 4/5] drivers/mmc/host/msm-sdcc: Remove dead config ..., Christian Dietrich, (Wed Jul 14, 7:04 am)
[PATCH 5/5] Remove REDWOOD_5 and REDWOOD_6 config options ..., Christian Dietrich, (Wed Jul 14, 7:05 am)
Re: [PATCH 1/5] drivers/regulator: Remove dead CONFIG_TWL4 ..., Christian Dietrich, (Wed Jul 14, 7:16 am)
[PATCH 0/2] Removing dead code, Christian Dietrich, (Fri Jul 16, 5:28 am)
[PATCH 1/2] Remove REDWOOD_[456] config options and condit ..., Christian Dietrich, (Fri Jul 16, 5:29 am)
[PATCH 2/2] Removed redwood/mtd mapping, Christian Dietrich, (Fri Jul 16, 5:29 am)
Re: [PATCH 1/2] Remove REDWOOD_[456] config options and co ..., Benjamin Herrenschmidt, (Sun Jul 18, 5:00 pm)