regulator: TPS65910: Create an array for reg init data
authorKyle Manna <kyle.manna@fuel7.com>
Wed, 2 Nov 2011 12:01:30 +0000 (17:31 +0530)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:14:40 +0000 (00:44 +0530)
commite0fe3ac11c5141d6f401978357a4c49734638dee
tree269988d3853dee1e4c2f29bf2a013274a087a175
parent5470d4a4b64a68e33c78a7b9140daeff16ea47e6
regulator: TPS65910: Create an array for reg 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: Vaibhav Hiremath <hvaibhav@ti.com>
drivers/regulator/tps65910-regulator.c
include/linux/mfd/tps65910.h