LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pcc-acpi-0.9-add-missing-input-unregister-device.diff of Package pcc-acpi (Project DISCONTINUED:openSUSE:10.3:Update)

--- pcc_acpi.c
+++ pcc_acpi.c
@@ -949,6 +949,8 @@
 	if (ACPI_FAILURE(status))
 		ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Error removing notify handler\n"));
 
+	input_unregister_device(hotkey->input_dev);
+
 	kfree(hotkey);
 	return_VALUE(status == AE_OK);
 }