hwmon: (ltc4261) Convert to use devm_kzalloc
authorGuenter Roeck <linux@roeck-us.net>
Wed, 22 Feb 2012 16:56:49 +0000 (08:56 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:46 +0000 (18:27 -0700)
commit36839287204f1c419907d3873f1e45062000e8a2
tree791547e087f072914199dcc93862b1bb144348f6
parentdd285ad7373bf5d21cceacb3b7a5eb8b72d37085
hwmon: (ltc4261) 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/ltc4261.c