2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00
linux-next/include/linux/regulator
Shawn Guo d9a861cce1 regulator: pass device_node to of_get_regulator_init_data()
It's not always true that the device_node of regulator can be found
at dev->of_node at the time when of_get_regulator_init_data() is being
called, because in some cases the regulator nodes in device tree do
not have 'struct device' behind them until regulator_dev gets created
for it by core function regulator_register().

The patch adds device_node as a new parameter to
of_get_regulator_init_data(), so that caller can pass in the node of
regulator directly.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-12-05 19:10:17 +00:00
..
ab8500.h regulator: initialization for ab8500 regulators 2011-03-26 14:15:05 +00:00
bq24022.h
consumer.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound 2011-10-28 14:25:01 -07:00
db8500-prcmu.h mach-ux500: voltage domain regulators for DB8500 2011-05-24 22:20:23 +02:00
driver.h regulator: map consumer regulator based on device tree 2011-11-23 18:47:31 +00:00
fixed.h regulator: Add 'start-up time' to fixed voltage regulators 2010-03-03 14:49:23 +00:00
gpio-regulator.h regulator: Add driver for gpio-controlled regulators 2011-10-09 12:36:21 +01:00
lp3971.h
lp3972.h Regulator: LP3972 PMIC regulator driver 2010-10-28 22:40:31 +01:00
machine.h regulator: Constify constraints name 2011-10-14 20:59:30 +01:00
max1586.h
max8649.h regulator: enable max8649 regulator driver 2010-03-03 14:49:24 +00:00
max8660.h
max8952.h MAX8952 PMIC Driver Initial Release 2010-10-28 22:40:31 +01:00
of_regulator.h regulator: pass device_node to of_get_regulator_init_data() 2011-12-05 19:10:17 +00:00
tps6507x.h regulator: tps6507x: allow driver to use DEFDCDC{2,3}_HIGH register 2010-07-28 15:09:26 +01:00
userspace-consumer.h