]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: provide a helper for registering a fixed regulator
authorSascha Hauer <s.hauer@pengutronix.de>
Sat, 3 Mar 2012 11:40:02 +0000 (12:40 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 3 Mar 2012 16:32:47 +0000 (16:32 +0000)
commit16c43e754b9696583ceb88d8eeb673c3ed5861d9
tree1f7c5c94bc5c9e28ef54e29c310ae276499ba5e3
parent8b81a98ee00a38456458c7ea6e1f1d8170ce95b8
regulator: provide a helper for registering a fixed regulator

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>
drivers/regulator/Makefile
drivers/regulator/fixed-helper.c [new file with mode: 0644]
include/linux/regulator/fixed.h