Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178629
b: refs/heads/master
c: abb631b
h: refs/heads/master
i:
  178627: 95b0a56
v: v3
  • Loading branch information
Len Brown committed Dec 30, 2009
1 parent 6c349b6 commit 1d4e9a6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 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: 27d0567ab635bc2af11be48f91c8d5a7a2dca2e4
refs/heads/master: abb631bfe271a9102fb5b05419272b7aec37a974
4 changes: 2 additions & 2 deletions trunk/drivers/char/ipmi/ipmi_si_intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -3204,7 +3204,7 @@ static __devinit int init_ipmi_si(void)
#ifdef CONFIG_ACPI
spmi_find_bmc();
#endif
#ifdef CONFIG_ACPI
#ifdef CONFIG_PNP
pnp_register_driver(&ipmi_pnp_driver);
#endif

Expand Down Expand Up @@ -3330,7 +3330,7 @@ static __exit void cleanup_ipmi_si(void)
#ifdef CONFIG_PCI
pci_unregister_driver(&ipmi_pci_driver);
#endif
#ifdef CONFIG_ACPI
#ifdef CONFIG_PNP
pnp_unregister_driver(&ipmi_pnp_driver);
#endif

Expand Down
9 changes: 5 additions & 4 deletions trunk/drivers/platform/x86/dell-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ static int __init dell_wmi_input_setup(void)
static int __init dell_wmi_init(void)
{
int err;
acpi_status status;

if (wmi_has_guid(DELL_EVENT_GUID)) {
printk(KERN_WARNING "dell-wmi: No known WMI GUID found\n");
Expand All @@ -336,14 +337,14 @@ static int __init dell_wmi_init(void)
if (err)
return err;

err = wmi_install_notify_handler(DELL_EVENT_GUID,
status = wmi_install_notify_handler(DELL_EVENT_GUID,
dell_wmi_notify, NULL);
if (err) {
if (ACPI_FAILURE(status)) {
input_unregister_device(dell_wmi_input_dev);
printk(KERN_ERR
"dell-wmi: Unable to register notify handler - %d\n",
err);
return err;
status);
return -ENODEV;
}

return 0;
Expand Down

0 comments on commit 1d4e9a6

Please sign in to comment.