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)
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

Simple merge