projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/drivers/base/power/qos.c
b/drivers/base/power/qos.c
index fd849a2c4fa8fdaa4ae3ac10a8ce853b9e14bec7..74a67e0019a2d246820ccb2858399bca193ff789 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
;
}
/**