commit | f15df57ded710bd018794a264b900975ce3599a0 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Wed Feb 22 08:56:47 2012 -0800 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Sun Mar 18 18:27:48 2012 -0700 |
tree | ca1b652e423860d7d01eca040af4ccdd94b5c73d | |
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>