regulator: tps65023: Use [set|get]_voltage_sel_regmap instead of open coded
authorAxel Lin <axel.lin@ingics.com>
Tue, 23 Apr 2013 03:54:48 +0000 (11:54 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 23 Apr 2013 10:32:56 +0000 (11:32 +0100)
commit46bcb006ae92cdd10c39eeaecf2ca4994026943a
tree152b9628b73c9e0158c92632df8af2caca60b70d
parent60d509fa6a9c4653a86ad830e4c4b30360b23f0e
regulator: tps65023: Use [set|get]_voltage_sel_regmap instead of open coded

Simply the [get|set]_voltage_sel implementation by using
regulator_[set|get]_voltage_sel_regmap instead of open coded.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps65023-regulator.c