]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/hid/hid-lenovo.c
libata/ahci: Fix PCS quirk application
[linux.git] / drivers / hid / hid-lenovo.c
index 364bc7f11d9d9d757a9efbc3142f922798c48aff..96fa2a2c2cd3a65f91a2031be36aac59c53452c6 100644 (file)
@@ -866,8 +866,6 @@ static void lenovo_remove_tpkbd(struct hid_device *hdev)
 
        led_classdev_unregister(&data_pointer->led_micmute);
        led_classdev_unregister(&data_pointer->led_mute);
-
-       hid_set_drvdata(hdev, NULL);
 }
 
 static void lenovo_remove_cptkbd(struct hid_device *hdev)