Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3853
b: refs/heads/master
c: 2f523b1
h: refs/heads/master
i:
  3851: 7ae1072
v: v3
  • Loading branch information
Rajesh Shah authored and Greg Kroah-Hartman committed Jun 28, 2005
1 parent c1aa750 commit 73b4c06
Show file tree
Hide file tree
Showing 2 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: 364d5094a43ff2ceff3d19e40c4199771cb6cb8f
refs/heads/master: 2f523b15901f654a9448bbd47ebe1e783ec3195b
4 changes: 2 additions & 2 deletions trunk/drivers/pci/hotplug/acpiphp_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ static int power_off_slot(struct acpiphp_slot *slot)
list_for_each (l, &slot->funcs) {
func = list_entry(l, struct acpiphp_func, sibling);

if (func->pci_dev && (func->flags & FUNC_HAS_PS3)) {
if (func->flags & FUNC_HAS_PS3) {
status = acpi_evaluate_object(func->handle, "_PS3", NULL, NULL);
if (ACPI_FAILURE(status)) {
warn("%s: _PS3 failed\n", __FUNCTION__);
Expand All @@ -615,7 +615,7 @@ static int power_off_slot(struct acpiphp_slot *slot)
func = list_entry(l, struct acpiphp_func, sibling);

/* We don't want to call _EJ0 on non-existing functions. */
if (func->pci_dev && (func->flags & FUNC_HAS_EJ0)) {
if (func->flags & FUNC_HAS_EJ0) {
/* _EJ0 method take one argument */
arg_list.count = 1;
arg_list.pointer = &arg;
Expand Down

0 comments on commit 73b4c06

Please sign in to comment.