Commit f038bfec authored by Andy Grover's avatar Andy Grover

ACPI: Rename acpi_power_off to acpi_power_off_device (Pavel Machek)

parent d7894ce5
...@@ -217,7 +217,7 @@ acpi_power_on ( ...@@ -217,7 +217,7 @@ acpi_power_on (
static int static int
acpi_power_off ( acpi_power_off_device (
acpi_handle handle) acpi_handle handle)
{ {
int result = 0; int result = 0;
...@@ -225,7 +225,7 @@ acpi_power_off ( ...@@ -225,7 +225,7 @@ acpi_power_off (
struct acpi_device *device = NULL; struct acpi_device *device = NULL;
struct acpi_power_resource *resource = NULL; struct acpi_power_resource *resource = NULL;
ACPI_FUNCTION_TRACE("acpi_power_off"); ACPI_FUNCTION_TRACE("acpi_power_off_device");
result = acpi_power_get_context(handle, &resource); result = acpi_power_get_context(handle, &resource);
if (result) if (result)
...@@ -358,7 +358,7 @@ acpi_power_transition ( ...@@ -358,7 +358,7 @@ acpi_power_transition (
* Then we dereference all power resources used in the current list. * Then we dereference all power resources used in the current list.
*/ */
for (i=0; i<cl->count; i++) { for (i=0; i<cl->count; i++) {
result = acpi_power_off(cl->handles[i]); result = acpi_power_off_device(cl->handles[i]);
if (result) if (result)
goto end; goto end;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment