Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ff41673 authored by Thierry Reding's avatar Thierry Reding
Browse files

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: default avatarDmitry Osipenko <digetx@gmail.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 02be8e4f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
	}