Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270318
b: refs/heads/master
c: 78d090b
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki authored and Jesse Barnes committed Oct 14, 2011
1 parent ab21aef commit de21f0f
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: 6af8bef14d6fc9e4e52c83fd646412e9dedadd26
refs/heads/master: 78d090b0be3f072a3c95022771c35183af961aaa
3 changes: 1 addition & 2 deletions trunk/drivers/pci/pci-acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ static int acpi_dev_run_wake(struct device *phys_dev, bool enable)
{
struct acpi_device *dev;
acpi_handle handle;
int error = -ENODEV;

if (!device_run_wake(phys_dev))
return -EINVAL;
Expand All @@ -305,7 +304,7 @@ static int acpi_dev_run_wake(struct device *phys_dev, bool enable)
acpi_disable_wakeup_device_power(dev);
}

return error;
return 0;
}

static void acpi_pci_propagate_run_wake(struct pci_bus *bus, bool enable)
Expand Down

0 comments on commit de21f0f

Please sign in to comment.