diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-04-05 14:07:36 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-06 18:32:23 +0100 |
commit | f604c10cdeba4e068afa96be2bee878fb5227f8b (patch) | |
tree | 3056c7f7506a236a60ae9573d9fc1f38bff808c3 /include/linux/regulator | |
parent | dd16b1f8e7814cad47e09951529facaba4350302 (diff) | |
download | op-kernel-dev-f604c10cdeba4e068afa96be2bee878fb5227f8b.zip op-kernel-dev-f604c10cdeba4e068afa96be2bee878fb5227f8b.tar.gz |
regulator: Convert rc5t583 to set_voltage
Not every regulator driver should implement set_voltage_sel callback.
See commit e8eef82
"regulator: Provide a selector based set_voltage_sel() operation".
For rc5t583, the regulator voltage can be mapped onto selector values with a
simple calculation, thus implement set_voltage is better than set_voltage_sel.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regulator')
0 files changed, 0 insertions, 0 deletions