thinkpad-acpi: wrong thermal attribute_group removed in thermal_exit()
Subsystems (2)
PATCH 6/7 thinkpad-acpi: wrong thermal attribute_group removed in thermal_exit()
From: Roel Kluin <[email protected]>
sysfs_remove_group() removed the wrong attribute_group for thermal_read_mode TPEC_8, ACPI_TMP07 and ACPI_UPDT
Signed-off-by Roel Kluin <[email protected]>
Cc Len Brown <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/platform/x86/thinkpad_acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/thinkpad_acpi.c renamed from drivers/platform/x86/thinkpad_acpi.c~thinkpad-acpi-wrong-thermal-attribute_group-removed-in-thermal_exit +1 -1
@@ -5771,7 +5771,7 @@ static void thermal_exit(void)case TPACPI_THERMAL_ACPI_TMP07 :case TPACPI_THERMAL_ACPI_UPDT :sysfs_remove_group (&tpacpi_sensors_pdev->dev.kobj, - &thermal_temp_input16_group); + &thermal_temp_input8_group);break ;case TPACPI_THERMAL_NONE :default :
_
applied
thanks,
Len Brown, Intel Open Source Technology Center