regulator: Simplify the code to get selector in isl6271a_set_voltage
authorAxel Lin <axel.lin@gmail.com>
Fri, 2 Mar 2012 01:19:02 +0000 (09:19 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:48:47 +0000 (20:48 +0000)
commit48ee1160a44b6f404f5553a6fce8447507982311
tree43eba9f53da1041947b61ed963dd832e05278326
parent7b94791be6fb1c52c5ccb2cfde793da6c6b541b0
regulator: Simplify the code to get selector in isl6271a_set_voltage

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/isl6271a-regulator.c