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)
commit5fd43ddbec7623441239d247155a30b69e51bea1
tree2b2b8ebe2396198ed481bb55c78d8a6e444289d2
parent8e6af454117a51dbf6c8a47c00180a0c235052fe
hwmon: (ntc_thermistor) Fix temperature type reporting

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