Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95506
b: refs/heads/master
c: a815ab8
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Len Brown committed Apr 29, 2008
1 parent b79b6c0 commit 9f8035d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 2a241d77cfdab08544a78057a4b24c9a98dc79d0
refs/heads/master: a815ab8b5891f3d2515316655729272f68269e3b
2 changes: 1 addition & 1 deletion trunk/drivers/acpi/power.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ acpi_power_get_context(acpi_handle handle,
}

*resource = acpi_driver_data(device);
if (!resource)
if (!*resource)
return -ENODEV;

return 0;
Expand Down

0 comments on commit 9f8035d

Please sign in to comment.