Skip to content

Commit

Permalink
regulator: tps65912: Remove unused define of TPS65912_MAX_REG_ID
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Liam Girdwood committed Aug 8, 2011
1 parent 3a7d021 commit 88585b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/regulator/tps65912-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 88585b8

Please sign in to comment.