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)
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

Simple merge