Browse Source

hp-wmi: make rfkill initialization failure non-fatal

hp_wmi_rfkill_setup cleans up after itself now, so failing completely is
no longer necessary.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Anssi Hannula 14 years ago
parent
commit
7cd635da42
1 changed files with 1 additions and 3 deletions
  1. 1 3
      drivers/platform/x86/hp-wmi.c

+ 1 - 3
drivers/platform/x86/hp-wmi.c

@@ -610,9 +610,7 @@ static int __devinit hp_wmi_bios_setup(struct platform_device *device)
 	bluetooth_rfkill = NULL;
 	bluetooth_rfkill = NULL;
 	wwan_rfkill = NULL;
 	wwan_rfkill = NULL;
 
 
-	err = hp_wmi_rfkill_setup(device);
-	if (err)
-		return err;
+	hp_wmi_rfkill_setup(device);
 
 
 	err = device_create_file(&device->dev, &dev_attr_display);
 	err = device_create_file(&device->dev, &dev_attr_display);
 	if (err)
 	if (err)