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)
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>

No differences found