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