diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-05-09 11:49:40 +0200 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-05-27 11:34:37 +0200 |
commit | 98ea5c218ed150bf7cabb879db4fc2c106b6fa5b (patch) | |
tree | 778c910cd569ec3813b6fdd05eb81532a860a3d1 /drivers/video | |
parent | regulator: Support voltage offsets to compensate for drops in system (diff) | |
download | linux-98ea5c218ed150bf7cabb879db4fc2c106b6fa5b.tar.xz linux-98ea5c218ed150bf7cabb879db4fc2c106b6fa5b.zip |
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/video')
0 files changed, 0 insertions, 0 deletions