diff --git a/[refs] b/[refs] index 0b0f23e174d7..5a8ed076f614 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 814cb8adbe2fb49302ac65bc31fa749143823860 +refs/heads/master: facd61d7b70d9c061f08e0b76976f7f833888a70 diff --git a/trunk/drivers/platform/x86/dell-laptop.c b/trunk/drivers/platform/x86/dell-laptop.c index 9d7e0be6bb0f..b4c2190e89f9 100644 --- a/trunk/drivers/platform/x86/dell-laptop.c +++ b/trunk/drivers/platform/x86/dell-laptop.c @@ -474,6 +474,10 @@ static void __exit dell_exit(void) i8042_remove_filter(dell_laptop_i8042_filter); backlight_device_unregister(dell_backlight_device); dell_cleanup_rfkill(); + if (platform_device) { + platform_device_del(platform_device); + platform_driver_unregister(&platform_driver); + } } module_init(dell_init);