From: Tushar Behera Date: Fri, 23 Nov 2012 12:18:43 +0000 (+0530) Subject: mfd: ab8500-core: Fix invalid free of devm_ allocated data X-Git-Tag: v3.8-rc1~85^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e1328be4d4e4967d54bf7ae3b0805ec53fc4f91;p=pandora-kernel.git 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 Acked-by: Linus Walleij Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed