diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-06-12 16:34:55 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-13 10:47:02 +0100 |
commit | 38c20eb23fb7b5505ac80595f18f4209abc19cd3 (patch) | |
tree | e5359e02888a3ce9166d66ddc199eba23aff9d0c /drivers/regulator/max8997.c | |
parent | 3fe3a182adfeca84f39751af03c8571831a0877f (diff) |
regulator: wm8400: Use wm8400_ldo_list_voltage instead of open code to verify selected voltage
Call wm8400_ldo_list_voltage() instead of open code to verify selected voltage
falls within specified range.
Use wm8400_ldo_list_voltage() here is less error prone.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/max8997.c')
0 files changed, 0 insertions, 0 deletions