]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb469cd3221ac54ff35f66d60ec4023c79f1581ab
tree7f01d973f3e0da1f681fcca1ef1c67c88a94ceb3
parentbae3b58530aebee4d402682f9318bed6d6333138
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