aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon/atxp1.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-02-22 08:56:47 -0800
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-18 18:27:48 -0700
commitf15df57ded710bd018794a264b900975ce3599a0 (patch)
treeca1b652e423860d7d01eca040af4ccdd94b5c73d /drivers/hwmon/atxp1.c
parent918ddef35f518407d6ed6e72faf6df75e49cee24 (diff)
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 <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/atxp1.c')
0 files changed, 0 insertions, 0 deletions