commit | 4e1328be4d4e4967d54bf7ae3b0805ec53fc4f91 | [log] [tgz] |
---|---|---|
author | Tushar Behera <tushar.behera@linaro.org> | Fri Nov 23 17:48:43 2012 +0530 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Fri Nov 30 11:51:30 2012 +0100 |
tree | 195c32c1474fa064383d3c221c7082d0805f07b7 | |
parent | 13ea5813238239930d12d28bd7504a3ac6ba14d1 [diff] |
mfd: ab8500-core: Fix invalid free of devm_ allocated data The objects allocated by devm_* APIs are managed by devres and are freed when the device is detached. Hence there is no need to remove them explicitly in remove function. Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>