diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-07-17 22:38:26 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-19 00:02:36 +0200 |
commit | ad0446eb11b6886a73e077bd087f98544b8c0403 (patch) | |
tree | ed53f86f1990e19bbf8c009060f4b077aa146535 /drivers/base/power/qos.c | |
parent | 83618092645f970668f47b6ee2fec1afdca32efd (diff) | |
download | op-kernel-dev-ad0446eb11b6886a73e077bd087f98544b8c0403.zip op-kernel-dev-ad0446eb11b6886a73e077bd087f98544b8c0403.tar.gz |
PM / QoS: Use NULL pointer instead of plain integer in qos.c
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>
Diffstat (limited to 'drivers/base/power/qos.c')
-rw-r--r-- | drivers/base/power/qos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/qos.c b/drivers/base/power/qos.c index fd849a2..74a67e0 100644 --- 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; } /** |