diff options
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/hp-wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/hp-wmi.c b/drivers/platform/x86/hp-wmi.c index af04f5b049db..c2842171cec6 100644 --- a/drivers/platform/x86/hp-wmi.c +++ b/drivers/platform/x86/hp-wmi.c | |||
@@ -507,7 +507,7 @@ static int __exit hp_wmi_bios_remove(struct platform_device *device) | |||
507 | } | 507 | } |
508 | if (bluetooth_rfkill) { | 508 | if (bluetooth_rfkill) { |
509 | rfkill_unregister(bluetooth_rfkill); | 509 | rfkill_unregister(bluetooth_rfkill); |
510 | rfkill_destroy(wifi_rfkill); | 510 | rfkill_destroy(bluetooth_rfkill); |
511 | } | 511 | } |
512 | if (wwan_rfkill) { | 512 | if (wwan_rfkill) { |
513 | rfkill_unregister(wwan_rfkill); | 513 | rfkill_unregister(wwan_rfkill); |