Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f038bfec
Commit
f038bfec
authored
Oct 22, 2002
by
Andy Grover
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ACPI: Rename acpi_power_off to acpi_power_off_device (Pavel Machek)
parent
d7894ce5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/acpi/power.c
drivers/acpi/power.c
+3
-3
No files found.
drivers/acpi/power.c
View file @
f038bfec
...
...
@@ -217,7 +217,7 @@ acpi_power_on (
static
int
acpi_power_off
(
acpi_power_off
_device
(
acpi_handle
handle
)
{
int
result
=
0
;
...
...
@@ -225,7 +225,7 @@ acpi_power_off (
struct
acpi_device
*
device
=
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
);
if
(
result
)
...
...
@@ -358,7 +358,7 @@ acpi_power_transition (
* Then we dereference all power resources used in the current list.
*/
for
(
i
=
0
;
i
<
cl
->
count
;
i
++
)
{
result
=
acpi_power_off
(
cl
->
handles
[
i
]);
result
=
acpi_power_off
_device
(
cl
->
handles
[
i
]);
if
(
result
)
goto
end
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment