summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/fixed-helper.c
Commit message (Collapse)AuthorAgeFilesLines
* regulator: Remove non-existent parameter from fixed-helper.c kernel docRuss Dill2012-03-311-1/+0
| | | | | Signed-off-by: Russ Dill <russ.dill@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* regulator: fix sysfs name collision between dummy and fixed dummy regulatorShawn Guo2012-03-311-1/+1
| | | | | | | | | | | | | | When regulator_register_fixed() is being used to register fixed dummy regulator, the following line will be seen in the boot log. And the sysfs entry for fixed dummy regulator is not shown. dummy: Failed to create debugfs directory The patch renames the fixed dummy supply to "fixed-dummy" to avoid the name collision with dummy regulator. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* regulator: provide a helper for registering a fixed regulatorSascha Hauer2012-03-031-0/+53
Some devices require a regulator to work, but boards may not have a software controllable regulator for this device. Provide a helper function to make it simpler for these boards to register a fixed regulator as a dummy regulator. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>