summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/userspace-consumer.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-02-11 18:22:45 +0100
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-03-03 15:49:26 +0100
commit9a7f6a4c6edc84748c6477c9df56691a0e61b8fd (patch)
treee58dc062e3943bbc209eb65e6484010f99db6dc2 /drivers/regulator/userspace-consumer.c
parentregulator: Convert fixed voltage regulator to use enable_time() (diff)
downloadlinux-9a7f6a4c6edc84748c6477c9df56691a0e61b8fd.tar.xz
linux-9a7f6a4c6edc84748c6477c9df56691a0e61b8fd.zip
regulator: Assume regulators are enabled if they don't report anything
If a regulator driver does not provide a way to query if the driver is enabled then assume that it is enabled. This is very likely to reflect the actual state is more useful for callers than reporting an error. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/userspace-consumer.c')
0 files changed, 0 insertions, 0 deletions