commit | a6576cff1801e2f1a9f328f02bd4cbcab7b03f91 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Tue Aug 04 02:03:52 2009 +0200 |
committer | Liam Girdwood <lrg@slimlogic.co.uk> | Tue Sep 22 13:32:41 2009 +0100 |
tree | 8757d59b00c962e19dd486a10a617e12d354036a | |
parent | 9a2372fa7a403ba327873d0208a619d781a8a150 [diff] |
Regulator: Implement list_voltage for pcf50633 regulator driver. This patch implements list_voltage for the pcf50644 regulator driver. As the voltages are linearly scaled the code to convert register values to voltages can be reused and most of the code can be shared with get_voltage. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>