projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8361809
)
PM / QoS: Use NULL pointer instead of plain integer in qos.c
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 17 Jul 2012 20:38:26 +0000
(22:38 +0200)
committer
Rafael J. Wysocki
<rjw@sisk.pl>
Wed, 18 Jul 2012 22:02:36 +0000
(
00:02
+0200)
Fix the following sparse warning:
drivers/base/power/qos.c:465:29: warning: Using plain integer as NULL pointer
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/qos.c
patch
|
blob
|
history
diff --git
a/drivers/base/power/qos.c
b/drivers/base/power/qos.c
index
fd849a2
..
74a67e0
100644
(file)
--- a/
drivers/base/power/qos.c
+++ b/
drivers/base/power/qos.c
@@
-462,7
+462,7
@@
EXPORT_SYMBOL_GPL(dev_pm_qos_add_ancestor_request);
static void __dev_pm_qos_drop_user_request(struct device *dev)
{
dev_pm_qos_remove_request(dev->power.pq_req);
- dev->power.pq_req =
0
;
+ dev->power.pq_req =
NULL
;
}
/**