hwmon: (smm665) Convert to use devm_kzalloc
authorGuenter Roeck <linux@roeck-us.net>
Wed, 22 Feb 2012 16:56:48 +0000 (08:56 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:47 +0000 (18:27 -0700)
commitb8a5a7cebded23eb311b8db73a11ed23b4135170
tree4d7abaa0d2933fad737471e63cd1ba023963a3b0
parent36839287204f1c419907d3873f1e45062000e8a2
hwmon: (smm665) Convert to use devm_kzalloc

Marginally less code and eliminate the possibility of memory leaks.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/smm665.c