regulator: wm831x_reg_read() failure unnoticed in wm831x_aldo_get_mode()
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 15 Dec 2009 19:07:31 +0000 (20:07 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Thu, 17 Dec 2009 10:27:30 +0000 (10:27 +0000)
commit6f17c65240e35ae99319c659c74d54100a832f45
tree4d525d70afdb575708760409b065cf98e3c1b784
parentcf9836f4ddd1a08e88fe05e06f21313c609d3d55
regulator: wm831x_reg_read() failure unnoticed in wm831x_aldo_get_mode()

ret should be signed to notice a failure in wm831x_reg_read().

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/wm831x-ldo.c