Skip to contentSkip to conversation

regulator: tps65912: Remove unused define of TPS65912_MAX_REG_ID

PATCH In review Axel Lin 2 participants 2 messages Jul 18, 2011 Voltage and current regulator framework

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/regulator/tps65912-regulator.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/regulator/tps65912-regulator.c +0 -2
index 3a9313e..39d4a17 100644
@@ -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
 
Signature · 1 line
1.7.4.1
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Axel Lin

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.