diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-10-08 00:24:54 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2009-12-13 19:21:28 +0100 |
commit | 24213ae19aed6307e309125cc5fcb14e52e475ed (patch) | |
tree | 579f1ba4e46976942aee8950bc91ec8ca4599a0a /drivers/power | |
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>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions