Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348340
b: refs/heads/master
c: 5cc36c7
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki committed Jan 3, 2013
1 parent f7c3cc6 commit f13f1ad
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 8611ea5f5d708d60ab29ed3cdb33e67168404fc0
refs/heads/master: 5cc36c724eb60b5e5457807f3230e5bb5454e4d0
3 changes: 1 addition & 2 deletions trunk/drivers/acpi/device_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,7 @@ static struct acpi_device *acpi_dev_pm_get_node(struct device *dev)
acpi_handle handle = DEVICE_ACPI_HANDLE(dev);
struct acpi_device *adev;

return handle && ACPI_SUCCESS(acpi_bus_get_device(handle, &adev)) ?
adev : NULL;
return handle && !acpi_bus_get_device(handle, &adev) ? adev : NULL;
}

/**
Expand Down

0 comments on commit f13f1ad

Please sign in to comment.