diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-02-22 08:56:47 -0800 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-03-18 18:27:48 -0700 |
commit | f15df57ded710bd018794a264b900975ce3599a0 (patch) | |
tree | ca1b652e423860d7d01eca040af4ccdd94b5c73d /drivers/hwmon/atxp1.c | |
parent | 918ddef35f518407d6ed6e72faf6df75e49cee24 (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