mfd: Fix checking return value of 88pm8xx regmap_read()
authorAxel Lin <axel.lin@gmail.com>
Wed, 11 Jul 2012 01:27:54 +0000 (09:27 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 16 Jul 2012 13:26:37 +0000 (15:26 +0200)
commit46b65a8fe63ece3b01d7d0c5e3bb5b9f478c44d5
tree5e79493ab517ea4ac97fe0ec9351d8e5dcffd250
parente102befe7a254f7b827fecc19eba0c5af03d1bf3
mfd: Fix checking return value of 88pm8xx regmap_read()

Check the return value of regmap_read() rather than the read value.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/88pm800.c
drivers/mfd/88pm805.c
This page took 0.02905 seconds and 5 git commands to generate.