commit | c705742201260afd08b05ff84674507735e2b16b | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Tue Jun 12 20:10:26 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun Jun 17 20:53:58 2012 +0100 |
tree | d946afc8f6910ea758786cb39db93999892222ad | |
parent | a967fbfaca0a979fc34c1097b37d824039a709b1 [diff] |
regulator: wm8350: Reuse map_voltage() to get selector of a given uV Reuse map_voltage() to get the selector of a given uV. Then we can remove wm8350_ldo_mvolts_to_val() and wm8350_dcdc_mvolts_to_val(). Also remove unused wm8350_dcdc_val_to_mvolts() function. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>