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
Kirill Smelkov
linux
Commits
868b0935
Commit
868b0935
authored
Jan 06, 2013
by
Rafael J. Wysocki
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pm-qos'
* pm-qos: PM / QoS: Rename local variable in dev_pm_qos_add_ancestor_request()
parents
f3ea36aa
4ce47802
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/base/power/qos.c
drivers/base/power/qos.c
+5
-5
No files found.
drivers/base/power/qos.c
View file @
868b0935
...
...
@@ -542,19 +542,19 @@ int dev_pm_qos_add_ancestor_request(struct device *dev,
struct
dev_pm_qos_request
*
req
,
s32
value
)
{
struct
device
*
ancestor
=
dev
->
parent
;
int
error
=
-
ENODEV
;
int
ret
=
-
ENODEV
;
while
(
ancestor
&&
!
ancestor
->
power
.
ignore_children
)
ancestor
=
ancestor
->
parent
;
if
(
ancestor
)
error
=
dev_pm_qos_add_request
(
ancestor
,
req
,
DEV_PM_QOS_LATENCY
,
value
);
ret
=
dev_pm_qos_add_request
(
ancestor
,
req
,
DEV_PM_QOS_LATENCY
,
value
);
if
(
error
<
0
)
if
(
ret
<
0
)
req
->
dev
=
NULL
;
return
error
;
return
ret
;
}
EXPORT_SYMBOL_GPL
(
dev_pm_qos_add_ancestor_request
);
...
...
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