diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-07-11 12:25:49 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-11 12:25:49 +0200 |
commit | db79e53dd5957321ca78efe6c0cda578034e381b (patch) | |
tree | 473719d58cb684ed9776b35888427c4c82f204f5 /drivers/base/power | |
parent | 8951ef021904752a843a81fee785f1b180f31c07 (diff) | |
download | op-kernel-dev-db79e53dd5957321ca78efe6c0cda578034e381b.zip op-kernel-dev-db79e53dd5957321ca78efe6c0cda578034e381b.tar.gz |
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/power')
-rw-r--r-- | drivers/base/power/domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index 4f8e0d2..8d67417 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) if (dev->power.subsys_data->domain_data) { gpd_data = to_gpd_data(dev->power.subsys_data->domain_data); - gpd_data->ops = (struct gpd_dev_ops){ 0 }; + gpd_data->ops = (struct gpd_dev_ops){ NULL }; if (clear_td) gpd_data->td = (struct gpd_timing_data){ 0 }; |