WSL2-Linux-Kernel/drivers/regulator
Mark Brown f8c12fe329 regulator: Copy constraints from regulators when initialising them
Currently the regulator API uses the constraints structure passed in to
the core throughout the lifetime of the object. This means that it is not
possible to mark the constraints as __initdata so if the kernel supports
many boards the constraints for all of them are kept around throughout the
lifetime of the system, consuming memory needlessly. By copying constraints
that are actually used we allow the use of __initdata, saving memory when
multiple boards are supported.

This also means the constraints can be const.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2011-01-12 14:33:01 +00:00
..
88pm8607.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
Kconfig Regulator: LP3972 PMIC regulator driver 2010-10-28 22:40:31 +01:00
Makefile regulator: Add option for machine drivers to enable the dummy regulator 2010-10-28 22:40:31 +01:00
ab3100.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
ab8500.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
ad5398.c i2c: Remove obsolete cleanup for clientdata 2010-09-30 14:14:22 +02:00
bq24022.c Regulators: ab3100/bq24022: add a missing .owner field in regulator_desc 2010-05-25 10:16:02 +01:00
core.c regulator: Copy constraints from regulators when initialising them 2011-01-12 14:33:01 +00:00
da903x.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
dummy.c regulator: Provide optional dummy regulator for consumers 2010-03-03 14:49:26 +00:00
dummy.h regulator: fix build when CONFIG_REGULATOR_DUMMY=n 2010-10-28 22:40:32 +01:00
fixed.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
isl6271a-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
lp3971.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
lp3972.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max1586.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8649.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8660.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8925-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8952.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
max8998.c regulator: Fix prototype for MAX8998 buck set_voltage() 2011-01-12 14:33:01 +00:00
mc13783-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
pcap-regulator.c regulator: Fix typo in PCAP regulator_set_voltage() 2011-01-12 14:33:00 +00:00
pcf50633-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
tps6507x-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
tps6586x-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
tps65023-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
twl-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
userspace-consumer.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
virtual.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
wm831x-dcdc.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
wm831x-isink.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
wm831x-ldo.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
wm8350-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
wm8400-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00
wm8994-regulator.c regulator: Report actual configured voltage to set_voltage() 2011-01-12 14:32:59 +00:00