summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/cmdlinepart.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-10-16 14:16:15 +0200
committerLiam Girdwood <lrg@slimlogic.co.uk>2009-11-16 10:57:17 +0100
commit9a767d43fbddb3319dca568df49c48e0d1bb6bd8 (patch)
treea70c837dc27091b54593c2c614e5af7687d01ceb /drivers/mtd/cmdlinepart.c
parentregulator: Handle missing constraints in _regulator_disable() (diff)
downloadlinux-9a767d43fbddb3319dca568df49c48e0d1bb6bd8.tar.xz
linux-9a767d43fbddb3319dca568df49c48e0d1bb6bd8.zip
regulator: Fix check of unsigned return value and transmit errors in wm831x_gp_ldo_get_mode()
If ret is unsigned, the checks for negative wm831x_reg_read() return values are wrong. The error value should be transmitted to its caller, e.g. wm831x_gp_ldo_get_status() which tests for a negative return value. 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>
Diffstat (limited to 'drivers/mtd/cmdlinepart.c')
0 files changed, 0 insertions, 0 deletions