android_kernel_motorola_sm6225/include/linux/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
..
ab8500.h ab8500-mfd: add regulator support to ab8500 mfd device 2010-08-11 11:38:01 +01:00
bq24022.h regulator: Allow init data to be supplied for bq24022 2009-03-31 09:56:21 +01:00
consumer.h regulator: Let drivers know when they use the stub API 2010-04-19 13:17:10 +01:00
driver.h regulator: Copy constraints from regulators when initialising them 2011-01-12 14:33:01 +00:00
fixed.h regulator: Add 'start-up time' to fixed voltage regulators 2010-03-03 14:49:23 +00:00
lp3971.h LP3971 PMIC regulator driver (updated and combined version) 2009-06-15 11:18:26 +01:00
lp3972.h Regulator: LP3972 PMIC regulator driver 2010-10-28 22:40:31 +01:00
machine.h regulator: Add option for machine drivers to enable the dummy regulator 2010-10-28 22:40:31 +01:00
max1586.h regulator: fix typos 2009-09-22 13:32:44 +01:00
max8649.h regulator: enable max8649 regulator driver 2010-03-03 14:49:24 +00:00
max8660.h regulator: add driver for MAX8660/8661 2009-12-17 10:27:22 +00:00
max8952.h MAX8952 PMIC Driver Initial Release 2010-10-28 22:40:31 +01: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 regulator: add userspace-consumer driver 2009-06-15 11:18:22 +01:00