mfd: Cleanup pcf50633_probe error handling
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 7 Oct 2009 22:24:54 +0000 (00:24 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 13 Dec 2009 18:21:28 +0000 (19:21 +0100)
Currently the child devices were not freed if the irq could not be requested.
This patch restructures the function, that in case of an error all previously
allocated resources are freed.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found