mfd: ab8500-core: Fix invalid free of devm_ allocated data
authorTushar Behera <tushar.behera@linaro.org>
Fri, 23 Nov 2012 12:18:43 +0000 (17:48 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 30 Nov 2012 10:51:30 +0000 (11:51 +0100)
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>

No differences found