]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (ntc_thermistor) Fix temperature type reporting
authorGuenter Roeck <linux@roeck-us.net>
Wed, 20 Mar 2019 17:32:58 +0000 (10:32 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 29 Mar 2019 16:51:44 +0000 (09:51 -0700)
commitaa60ddc23bf241d251f5a2b5d6ccc0f0a85c92ef
tree2b2b8ebe2396198ed481bb55c78d8a6e444289d2
parentf12aa0061f1143a29a303c103c26f80448296354
hwmon: (ntc_thermistor) Fix temperature type reporting

Commit 8ad17bf07da6 ("hwmon: (ntc_thermistor) Convert to new hwmon API")
converted the driver to use the new hwmon API, but introduced a subtle
error: The temperature type is no longer reported as temp1_type, but as
temp2_type.

Fixes: 8ad17bf07da6 ("hwmon: (ntc_thermistor) Convert to new hwmon API")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ntc_thermistor.c