commit | 425d247680d050fe3ee7e53b9cf0240bf6b4b351 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <guenter.roeck@ericsson.com> | Mon Apr 23 10:41:03 2012 -0700 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Sun May 20 19:41:49 2012 -0700 |
tree | 5f29561c91a3602a2bf817ff9ba059bdb067e097 | |
parent | 41141e64e63dd250a05218b66c91e125f1020b92 [diff] |
hwmon: (ntc_thermistor) Return error code from hwmon_device_register hwmon_device_register() never returns a NULL pointer in case of errors, but an error value. Use it. Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>