]> git.karo-electronics.de Git - karo-tx-linux.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)
commit613330a0f73b2698b2210ea89092eb56635fc5d8
tree1f7c5c94bc5c9e28ef54e29c310ae276499ba5e3
parent6b21d18ed50c7d145220b0724ea7f2613abf0f95
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