diff mbox

[4/4] thinkpad-acpi: wrong thermal attribute_group removed in thermal_exit()

Message ID 1265470230-30797-5-git-send-email-hmh@hmh.eng.br (mailing list archive)
State Superseded, archived
Delegated to: Len Brown
Headers show

Commit Message

Henrique de Moraes Holschuh Feb. 6, 2010, 3:30 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index f2dee94..933bcc4 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -5772,7 +5772,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: