Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230944
b: refs/heads/master
c: 36237fa
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki authored and Len Brown committed Jan 12, 2011
1 parent 59e9c03 commit a7a2fcf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 63e8078a12ed287f40f39082ff87e8db6621dab9
refs/heads/master: 36237fa0a711c309a38d7a7a9aed727e0eb76449
7 changes: 3 additions & 4 deletions trunk/drivers/acpi/power.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ static int acpi_power_on(acpi_handle handle)
return result;
}

static int acpi_power_off_device(acpi_handle handle)
static int acpi_power_off(acpi_handle handle)
{
int result = 0;
acpi_status status = AE_OK;
Expand Down Expand Up @@ -268,7 +268,7 @@ static void __acpi_power_off_list(struct acpi_handle_list *list, int num_res)
int i;

for (i = num_res - 1; i >= 0 ; i--)
acpi_power_off_device(list->handles[i]);
acpi_power_off(list->handles[i]);
}

static void acpi_power_off_list(struct acpi_handle_list *list)
Expand Down Expand Up @@ -430,8 +430,7 @@ int acpi_disable_wakeup_device_power(struct acpi_device *dev)

/* Close power resource */
for (i = 0; i < dev->wakeup.resources.count; i++) {
int ret = acpi_power_off_device(
dev->wakeup.resources.handles[i]);
int ret = acpi_power_off(dev->wakeup.resources.handles[i]);
if (ret) {
printk(KERN_ERR PREFIX "Transition power state\n");
dev->wakeup.flags.valid = 0;
Expand Down

0 comments on commit a7a2fcf

Please sign in to comment.