Regulator: Implement list_voltage for pcf50633 regulator driver.
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 4 Aug 2009 00:03:52 +0000 (02:03 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 22 Sep 2009 12:32:41 +0000 (13:32 +0100)
commita6576cff1801e2f1a9f328f02bd4cbcab7b03f91
tree8757d59b00c962e19dd486a10a617e12d354036a
parent9a2372fa7a403ba327873d0208a619d781a8a150
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>
drivers/regulator/pcf50633-regulator.c