regulator: Pass regulator init data as explict argument when registering
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Jan 2009 13:37:02 +0000 (13:37 +0000)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 31 Mar 2009 08:56:21 +0000 (09:56 +0100)
commit0527100fd11d9710c7e153d791da78824b7b46fa
tree358bad2e27b71ceb705365dd8fb4537e07e02cbf
parentb136fb4463d13eea129bf090a8a465bba6bf0003
regulator: Pass regulator init data as explict argument when registering

Rather than having the regulator init data read from the platform_data
member of the struct device that is registered for the regulator make
the init data an explict argument passed in when registering. This
allows drivers to use the platform data for their own purposes if they
wish.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/bq24022.c
drivers/regulator/core.c
drivers/regulator/da903x.c
drivers/regulator/pcf50633-regulator.c
drivers/regulator/wm8350-regulator.c
drivers/regulator/wm8400-regulator.c
include/linux/regulator/driver.h