mfd: palmas: Improve the error exit path
authorGraeme Gregory <gg@slimlogic.co.uk>
Tue, 28 Aug 2012 11:47:35 +0000 (13:47 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 21 Sep 2012 21:40:36 +0000 (23:40 +0200)
commit3f78decc321d48724809406b498708d2ab4b93d2
treee2b0b9a564e6f9f33b0aed4ff92eb5c97ad739a9
parent81a21cddaf14bd1144c2d173add7cbdeb95a07ca
mfd: palmas: Improve the error exit path

Improve the error exit path so that we correctly de-allocate resources
that have been allocated upto the point where error occurs.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/palmas.c
This page took 0.024097 seconds and 5 git commands to generate.