]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: max77686: Use array to save pointer to rdev
authorAxel Lin <axel.lin@gmail.com>
Sun, 5 Aug 2012 02:11:16 +0000 (10:11 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 7 Aug 2012 17:15:11 +0000 (18:15 +0100)
commita579bc388d1b8ed78482b470efd65a014009ef3f
tree722c2d8eaf2e416854ab8b083249f5250ec317ac
parent8c13d98af882bd3fc96257dfb312b0c8e90af801
regulator: max77686: Use array to save pointer to rdev

MAX77686_REGULATORS is known in compile time.
Use array to save pointer to rdev makes the code simpler.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max77686.c