OSDN Git Service
(root)
/
android-x86
/
kernel.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
739b894
..
55a8cc1
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;
}