]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: TPS65910: Create an array for init data
authorKyle Manna <kyle.manna@fuel7.com>
Thu, 3 Nov 2011 17:08:06 +0000 (12:08 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 8 Nov 2011 15:55:34 +0000 (15:55 +0000)
commit18583336b7448f7d33b3a69e143be0bb68628d08
tree02ac45a9112296b72042cc6f799bc793a7d9c65e
parentcc66b46ac7a2507d0c50d88ebc6596a353f3a6ee
regulator: TPS65910: Create an array for init data

Create an array of fixed size for the platform to pass regulator
initalization data through.

Passing an array of pointers to init data also allows more flexible
definition of init data as well as prevents reading past the end of the
array should the platform define an incorrectly sized array.

Signed-off-by: Kyle Manna <kyle.manna@fuel7.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps65910-regulator.c
include/linux/mfd/tps65910.h