]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (ntc_thermistor) Convert to devm_kzalloc
authorGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 23 Apr 2012 17:39:00 +0000 (10:39 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 21 May 2012 02:41:49 +0000 (19:41 -0700)
commit41141e64e63dd250a05218b66c91e125f1020b92
tree746bb6545c51543d735e31a78288274a71ffe5ab
parent1137a9a649db818869905b010b120a95a01b0d24
hwmon: (ntc_thermistor) Convert to devm_kzalloc

This avoids memory leaks, and makes the code a bit simpler and smaller.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
drivers/hwmon/ntc_thermistor.c