summaryrefslogtreecommitdiff
path: root/drivers/hwmon/pmbus
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-02-22 20:56:47 +0400
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-19 05:27:48 +0400
commitf15df57ded710bd018794a264b900975ce3599a0 (patch)
treeca1b652e423860d7d01eca040af4ccdd94b5c73d /drivers/hwmon/pmbus
parent918ddef35f518407d6ed6e72faf6df75e49cee24 (diff)
downloadlinux-f15df57ded710bd018794a264b900975ce3599a0.tar.xz
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/pmbus')
0 files changed, 0 insertions, 0 deletions