Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178630
b: refs/heads/master
c: f277257
h: refs/heads/master
v: v3
  • Loading branch information
Len Brown committed Dec 30, 2009
1 parent 1d4e9a6 commit e796fd4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: abb631bfe271a9102fb5b05419272b7aec37a974
refs/heads/master: f27725756be8a2c2dc65eaf70d0b52807aa2f113
2 changes: 1 addition & 1 deletion trunk/drivers/platform/x86/hp-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ static int __init hp_wmi_init(void)
if (wmi_has_guid(HPWMI_EVENT_GUID)) {
err = wmi_install_notify_handler(HPWMI_EVENT_GUID,
hp_wmi_notify, NULL);
if (!err)
if (ACPI_SUCCESS(err))
hp_wmi_input_setup();
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/platform/x86/msi-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ static int __init msi_wmi_init(void)
}
err = wmi_install_notify_handler(MSIWMI_EVENT_GUID,
msi_wmi_notify, NULL);
if (err)
if (ACPI_FAILURE(err))
return -EINVAL;

err = msi_wmi_input_setup();
Expand Down

0 comments on commit e796fd4

Please sign in to comment.