projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02be8e4
)
drm/tegra: vic: Do not clear driver data
author
Thierry Reding
<treding@nvidia.com>
Fri, 1 Feb 2019 13:28:35 +0000
(14:28 +0100)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 7 Feb 2019 17:29:00 +0000
(18:29 +0100)
Upon driver failure, the driver core will take care of clearing the
driver data, so there's no need to do so explicitly in the driver.
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/vic.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tegra/vic.c
b/drivers/gpu/drm/tegra/vic.c
index 739b894661ab02d167e23ddaafd5bc166891afd0..55a8cc162e9d57e1132347ded544b093e49970c3 100644
(file)
--- a/
drivers/gpu/drm/tegra/vic.c
+++ b/
drivers/gpu/drm/tegra/vic.c
@@
-412,7
+412,6
@@
static int vic_probe(struct platform_device *pdev)
err = host1x_client_register(&vic->client.base);
if (err < 0) {
dev_err(dev, "failed to register host1x client: %d\n", err);
- platform_set_drvdata(pdev, NULL);
goto exit_falcon;
}