commit | 9a7f6a4c6edc84748c6477c9df56691a0e61b8fd | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Thu Feb 11 17:22:45 2010 +0000 |
committer | Liam Girdwood <lrg@slimlogic.co.uk> | Wed Mar 03 14:49:26 2010 +0000 |
tree | e58dc062e3943bbc209eb65e6484010f99db6dc2 | |
parent | 17133dc82422cb118c843c3e9bbd565c37506ec8 [diff] |
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>