| commit | 7061873f709bcecc8e079395567e2c314d21f7aa | [log] [tgz] |
|---|---|---|
| author | Axel Lin <axel.lin@gmail.com> | Mon Mar 26 13:46:44 2012 +0800 |
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun Apr 01 11:59:33 2012 +0100 |
| tree | 7f01d973f3e0da1f681fcca1ef1c67c88a94ceb3 | |
| parent | 4533f80ef8da866564a29578a1a8b037c51c6fc6 [diff] |
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>