]> 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)
commit2e8d839a2bb7d521ad2d65e43b174fed1afb2dbe
tree2b2b8ebe2396198ed481bb55c78d8a6e444289d2
parente195b048cc3466ea17d8315dc81d0aeb890eafa1
hwmon: (ntc_thermistor) Fix temperature type reporting

Commit 9ff25ee9e907 ("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: 9ff25ee9e907 ("hwmon: (ntc_thermistor) Convert to new hwmon API")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ntc_thermistor.c