mfd: 88pm800: Enhance error handling for sub pages probe/remove
authorChao Xie <chao.xie@marvell.com>
Fri, 14 Jun 2013 05:21:50 +0000 (01:21 -0400)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 18 Jun 2013 07:40:57 +0000 (09:40 +0200)
commit52705344d00512f0bb48c66478582bd10eb1750f
tree40848be952a730db87f30a546dc64edc658f3a39
parentc750d8e053c08ccb82d814d695e64d1eb602a91a
mfd: 88pm800: Enhance error handling for sub pages probe/remove

pm800_pages_init and pm800_pages_exit are called by pm800_probe.
Change the code to enhance error handling and remove unused code at
pm800_pages_init/exit and pm800_probe.

Signed-off-by: Yi Zhang <yizhang@marvell.com>
Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/88pm800.c