summaryrefslogtreecommitdiff
path: root/drivers/base/power
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-07-17 22:38:26 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-07-19 00:02:36 +0200
commitad0446eb11b6886a73e077bd087f98544b8c0403 (patch)
treeed53f86f1990e19bbf8c009060f4b077aa146535 /drivers/base/power
parent83618092645f970668f47b6ee2fec1afdca32efd (diff)
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')
-rw-r--r--drivers/base/power/qos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/qos.c b/drivers/base/power/qos.c
index fd849a2c4fa..74a67e0019a 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;
}
/**