commit | 98ea5c218ed150bf7cabb879db4fc2c106b6fa5b | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Mon May 09 17:49:40 2011 +0800 |
committer | Liam Girdwood <lrg@slimlogic.co.uk> | Fri May 27 10:34:37 2011 +0100 |
tree | 778c910cd569ec3813b6fdd05eb81532a860a3d1 | |
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>