summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-02-01 14:28:35 +0100
committerThierry Reding <treding@nvidia.com>2019-02-07 18:29:00 +0100
commit3ff41673d5c6842e6668f95b0a14e5f6a74d043f (patch)
treeec17cd43c27eef6da0ad55b2569d3c5011bf33f4 /drivers/gpu/drm/tegra
parentdrm/tegra: Restrict IOVA space to DMA mask (diff)
downloadlinux-3ff41673d5c6842e6668f95b0a14e5f6a74d043f.tar.xz
linux-3ff41673d5c6842e6668f95b0a14e5f6a74d043f.zip
drm/tegra: vic: Do not clear driver data
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>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r--drivers/gpu/drm/tegra/vic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/vic.c b/drivers/gpu/drm/tegra/vic.c
index 739b894661ab..55a8cc162e9d 100644
--- 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;
}