regulator: Assign return value of mc13xxx_reg_rmw to ret
commit923430cfee112c5f8223a313f5ec148a27dfed7f
authorAxel Lin <axel.lin@gmail.com>
Mon, 3 Jan 2011 15:57:38 +0000 (3 23:57 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 12 Jan 2011 14:33:05 +0000 (12 14:33 +0000)
tree500492daf7dd9b24b017d2d07608579a5393839a
parent1130e5b3ff4a7f3f54a48d46e9d0d81b47765bd8
regulator: Assign return value of mc13xxx_reg_rmw to ret

Otherwise, we will not return error if write to MC13892_SWITCHERS5 failed.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Yong Shen <yong.shen@linaro.org>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/mc13892-regulator.c