Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Axel Lin and committed by
Liam Girdwood
88585b83 3a7d021b

-2
-2
drivers/regulator/tps65912-regulator.c
··· 43 43 #define TPS65912_REG_LDO9 12 44 44 #define TPS65912_REG_LDO10 13 45 45 46 - #define TPS65912_MAX_REG_ID TPS65912_REG_LDO_10 47 - 48 46 /* Number of step-down converters available */ 49 47 #define TPS65912_NUM_DCDC 4 50 48