]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/regulator/tps65910-regulator.c
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>
Wed, 23 Nov 2011 14:02:48 +0000 (14:02 +0000)
commitc1fc1480249dfe059254779a4bb7ca27cf5f8038
treecafbba26ca72d2720b3eca5e279c61d8638627af
parent72c108cc4947db2fcdd3f3e8a2b60bd65e74a1cc
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