projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a02d3a
)
drm/tegra: dc: Using NULL instead of plain integer
author
Wei Yongjun
<weiyongjun1@huawei.com>
Wed, 28 Mar 2018 12:52:10 +0000
(12:52 +0000)
committer
Thierry Reding
<treding@nvidia.com>
Wed, 28 Mar 2018 15:01:13 +0000
(17:01 +0200)
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>
drivers/gpu/drm/tegra/dc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tegra/dc.c
b/drivers/gpu/drm/tegra/dc.c
index
c1a5ae8
..
90b25ce
100644
(file)
--- 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;