hwmon: (lineage-pem) Convert to use devm_kzalloc
authorGuenter Roeck <linux@roeck-us.net>
Wed, 22 Feb 2012 16:56:45 +0000 (08:56 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:44 +0000 (18:27 -0700)
commit07404aab52f5106ec436692474cf8f40978f5dac
treeaa0bdba57bd71b2d3af25a0fb30f612de2c0e577
parentf352df652ff37c434ed32bc5b7eb7ce430b73abc
hwmon: (lineage-pem) 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/lineage-pem.c