diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-05-09 17:49:40 +0800 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-05-27 10:34:37 +0100 |
commit | 98ea5c218ed150bf7cabb879db4fc2c106b6fa5b (patch) | |
tree | 778c910cd569ec3813b6fdd05eb81532a860a3d1 /drivers/mfd/tps65910.c | |
parent | bf5892a8167e4aa5a9a6d72f803fde850e0c5753 (diff) |
regulator: Use mc13xxx_reg_write instead of mc13xxx_reg_rmw in mc13892_sw_regulator_set_voltage
Currently, we call mc13xxx_reg_read and mc13xxx_reg_rmw for the same register.
This can be converted to simply a mc13xxx_reg_read and a mc13xxx_reg_write,
thus save a redundant register read.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/mfd/tps65910.c')
0 files changed, 0 insertions, 0 deletions