From: Guenter Roeck Date: Wed, 22 Feb 2012 16:56:47 +0000 (-0800) Subject: hwmon: (jc42) Convert to use devm_kzalloc X-Git-Tag: v3.4-rc1~167^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f15df57ded710bd018794a264b900975ce3599a0;p=pandora-kernel.git hwmon: (jc42) Convert to use devm_kzalloc Marginally less code and eliminate the possibility of memory leaks. Also replace new_client variable with client and introduce dev variable to make the code a bit easier to read. Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed