aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-07-11 06:25:49 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-07-11 06:25:49 -0400
commitdb79e53dd5957321ca78efe6c0cda578034e381b (patch)
tree473719d58cb684ed9776b35888427c4c82f204f5 /drivers/base
parent8951ef021904752a843a81fee785f1b180f31c07 (diff)
PM / Domains: Replace plain integer with NULL pointer in domain.c file
Fixes the following sparse warning: drivers/base/power/domain.c:1679:55: 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')
-rw-r--r--drivers/base/power/domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index 4f8e0d2e7780..8d6741780b0f 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -1676,7 +1676,7 @@ int __pm_genpd_remove_callbacks(struct device *dev, bool clear_td)
1676 1676
1677 if (dev->power.subsys_data->domain_data) { 1677 if (dev->power.subsys_data->domain_data) {
1678 gpd_data = to_gpd_data(dev->power.subsys_data->domain_data); 1678 gpd_data = to_gpd_data(dev->power.subsys_data->domain_data);
1679 gpd_data->ops = (struct gpd_dev_ops){ 0 }; 1679 gpd_data->ops = (struct gpd_dev_ops){ NULL };
1680 if (clear_td) 1680 if (clear_td)
1681 gpd_data->td = (struct gpd_timing_data){ 0 }; 1681 gpd_data->td = (struct gpd_timing_data){ 0 };
1682 1682