From: Jingoo Han Date: Mon, 11 Mar 2013 06:30:40 +0000 (+0900) Subject: 88pm860x_charger: Drop kfree of devm_kzalloc'd data X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~93^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f8060a5fe1825dce3bf9870f4bef964fe6374c9;p=pandora-kernel.git 88pm860x_charger: Drop kfree of devm_kzalloc'd data The devm_kzalloc function allocates memory that is released automatically, when a driver detaches. Thus, there is no reason to explicitly call kfree in probe or remove functions. Signed-off-by: Jingoo Han Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed