commit | 24213ae19aed6307e309125cc5fcb14e52e475ed | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Thu Oct 08 00:24:54 2009 +0200 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Sun Dec 13 19:21:28 2009 +0100 |
tree | 579f1ba4e46976942aee8950bc91ec8ca4599a0a | |
parent | 4e8b70265c069544beb5a63b38544b53035b395e [diff] |
mfd: Cleanup pcf50633_probe error handling 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>