diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-09 16:42:19 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-09 19:48:27 +0100 |
commit | f7df20ec323009bd2ea8e1c65f11bb43fd526c4f (patch) | |
tree | c6cd62c2219c47e2929208ee44cb7db8424fbfba /ipc | |
parent | 215b8b055de7dad26ab6c10f70130934309cb696 (diff) |
regulator: core: Use list_voltage() to read single voltage regulators
If the regulator doesn't supply a way of reading back the voltage but does
provide a list_voltage() operation then use that with a selector of zero
to read the voltage. Regulators doing this means that we have the list
operation there for consumers that want to configure themselves.
Reported-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions