regulator: Convert tps65023 to set_voltage_sel
authorAxel Lin <axel.lin@gmail.com>
Mon, 26 Mar 2012 05:46:44 +0000 (13:46 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Apr 2012 10:59:33 +0000 (11:59 +0100)
commit7061873f709bcecc8e079395567e2c314d21f7aa
tree7f01d973f3e0da1f681fcca1ef1c67c88a94ceb3
parent4533f80ef8da866564a29578a1a8b037c51c6fc6
regulator: Convert tps65023 to set_voltage_sel

This patch also changes the define for TPS65023_LDO_CTRL_LDOx_MASK,
because regmap_update_bits actually does:
        (orig & ~mask) | (val & mask)
This change makes the code consists for all regmap_update_bits calls.

Also removes some uninformative comments.

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