hwmon: (ntc_thermistor) Fix temperature type reporting
Commit7cc7de93fa
("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:7cc7de93fa
("hwmon: (ntc_thermistor) Convert to new hwmon API") Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Родитель
8e6af45411
Коммит
5fd43ddbec
|
@ -640,7 +640,7 @@ static const struct hwmon_channel_info ntc_chip = {
|
|||
};
|
||||
|
||||
static const u32 ntc_temp_config[] = {
|
||||
HWMON_T_INPUT, HWMON_T_TYPE,
|
||||
HWMON_T_INPUT | HWMON_T_TYPE,
|
||||
0
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче