]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ba036a3e76494bd17ca2a627851dfb3a0e9dbe1
tree5e79493ab517ea4ac97fe0ec9351d8e5dcffd250
parent18aeb45add919d252f60e90169282d975a3feaf9
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