projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d97db5
)
hp-wmi: make rfkill initialization failure non-fatal
author
Anssi Hannula
<anssi.hannula@iki.fi>
Sun, 20 Feb 2011 18:07:25 +0000
(20:07 +0200)
committer
Matthew Garrett
<mjg@redhat.com>
Mon, 28 Mar 2011 10:07:19 +0000
(06:07 -0400)
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>
drivers/platform/x86/hp-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/hp-wmi.c
b/drivers/platform/x86/hp-wmi.c
index 45b2bbe6d8357b059c31e42cbf17dec6fba45f98..524ffabc28661035e154ea39e90923b0a8573ad5 100644
(file)
--- a/
drivers/platform/x86/hp-wmi.c
+++ b/
drivers/platform/x86/hp-wmi.c
@@
-610,9
+610,7
@@
static int __devinit hp_wmi_bios_setup(struct platform_device *device)
bluetooth_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);
if (err)