From: Thierry Reding Date: Fri, 1 Feb 2019 13:28:35 +0000 (+0100) Subject: drm/tegra: vic: Do not clear driver data X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=3ff41673d5c6842e6668f95b0a14e5f6a74d043f;p=android-x86%2Fkernel.git 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 Signed-off-by: Thierry Reding --- 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; }