diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-03-28 15:52:10 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-03-28 18:01:13 +0300 |
commit | ef1b204a7024de1a813a7bf7d68c45fac9b9d1a3 (patch) | |
tree | 3215ccdd61d6c4dbb027082007273880d4c52360 /drivers/gpu/drm/tegra | |
parent | 9a02d3af9ce9fcca751da1d4b5663b7a825d5957 (diff) | |
download | linux-ef1b204a7024de1a813a7bf7d68c45fac9b9d1a3.tar.xz |
drm/tegra: dc: Using NULL instead of plain integer
Fixes the following sparse warnings:
drivers/gpu/drm/tegra/dc.c:2181:69: warning:
Using plain integer as NULL pointer
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r-- | drivers/gpu/drm/tegra/dc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c index c1a5ae8faaef..90b25ce363ca 100644 --- a/drivers/gpu/drm/tegra/dc.c +++ b/drivers/gpu/drm/tegra/dc.c @@ -2160,7 +2160,7 @@ static int tegra_dc_couple(struct tegra_dc *dc) struct device_link *link; struct device *partner; - partner = driver_find_device(dc->dev->driver, NULL, 0, + partner = driver_find_device(dc->dev->driver, NULL, NULL, tegra_dc_match_by_pipe); if (!partner) return -EPROBE_DEFER; |