From: Devendra Naga Date: Mon, 30 Jul 2012 10:44:33 +0000 (+0545) Subject: ds2781_battery: Replace call to kzalloc with devm_kzalloc X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~5^2~42 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=deacc4fe57794f80ad4449c7cea611921c2d0420;p=pandora-kernel.git ds2781_battery: Replace call to kzalloc with devm_kzalloc With devm_kzalloc there is no need of freeing at the errorpath and also at unregister it. Signed-off-by: Devendra Naga Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed