diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-07-18 05:02:17 +0200 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-08-08 18:12:51 +0200 |
commit | 88585b83e011e661bcd2cf48d47f4634bdd92a14 (patch) | |
tree | ed9195aa512c6597ab5cc8542eb6350c1e90f212 /drivers | |
parent | regulator: aat2870-regulator.c needs module.h (diff) | |
download | linux-88585b83e011e661bcd2cf48d47f4634bdd92a14.tar.xz linux-88585b83e011e661bcd2cf48d47f4634bdd92a14.zip |
regulator: tps65912: Remove unused define of TPS65912_MAX_REG_ID
Currently we define TPS65912_MAX_REG_ID as TPS65912_REG_LDO_10,
but TPS65912_REG_LDO_10 is not defined at all.
( It looks like a typo of TPS65912_REG_LDO10 )
Currently, TPS65912_MAX_REG_ID is not used in this driver,
it is safe to just remove it.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/regulator/tps65912-regulator.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/regulator/tps65912-regulator.c b/drivers/regulator/tps65912-regulator.c index 3a9313e00fac..39d4a1749e71 100644 --- a/drivers/regulator/tps65912-regulator.c +++ b/drivers/regulator/tps65912-regulator.c @@ -43,8 +43,6 @@ #define TPS65912_REG_LDO9 12 #define TPS65912_REG_LDO10 13 -#define TPS65912_MAX_REG_ID TPS65912_REG_LDO_10 - /* Number of step-down converters available */ #define TPS65912_NUM_DCDC 4 |