Messages in this thread | | | Subject | Re: [PATCH 1/5] regulator: Pass regulator init data as explict argument when registering | From | Liam Girdwood <> | Date | Tue, 20 Jan 2009 20:10:51 +0000 |
| |
On Mon, 2009-01-19 at 13:37 +0000, Mark Brown wrote: > 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> > --- > drivers/regulator/bq24022.c | 2 +- > drivers/regulator/core.c | 5 +++-- > drivers/regulator/da903x.c | 3 ++- > drivers/regulator/pcf50633-regulator.c | 3 ++- > drivers/regulator/wm8350-regulator.c | 2 +- > drivers/regulator/wm8400-regulator.c | 2 +- > include/linux/regulator/driver.h | 3 ++- > 7 files changed, 12 insertions(+), 8 deletions(-) >
All applied.
Thanks
Liam
| |