]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
regulator: tps65912: Remove unused define of TPS65912_MAX_REG_ID
authorAxel Lin <axel.lin@gmail.com>
Mon, 18 Jul 2011 03:02:17 +0000 (11:02 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 8 Aug 2011 16:12:51 +0000 (17:12 +0100)
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>
drivers/regulator/tps65912-regulator.c

index 3a9313e00fac796b3d8799c90004a13fd2587142..39d4a1749e71a78b3ad73907e407bb8d02435df3 100644 (file)
@@ -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