regulator: st-pwm: Convert to get_voltage_sel
authorAxel Lin <axel.lin@ingics.com>
Fri, 21 Mar 2014 23:22:38 +0000 (07:22 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 24 Mar 2014 10:49:10 +0000 (10:49 +0000)
commitd8eb6fa7a9ae13f144eec51028ac6acf5174aee3
tree602d0d01220a946f5eaa1a00c0f995a7246d418c
parent4a5d301328eb7cfb88f8164ddfd90c018b70ddc4
regulator: st-pwm: Convert to get_voltage_sel

Also remove test for selector in st_pwm_regulator_set_voltage_sel, the checking
is already done in .list_voltage.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/st-pwm.c