linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tegra-video: host1x_client_unregister now returns void
@ 2023-05-25 11:33 Hans Verkuil
  0 siblings, 0 replies; only message in thread
From: Hans Verkuil @ 2023-05-25 11:33 UTC (permalink / raw)
  To: Linux Media Mailing List

The host1x_client_unregister() function became a void function,
so stop using the error return value.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
---
diff --git a/drivers/staging/media/tegra-video/vip.c b/drivers/staging/media/tegra-video/vip.c
index 6e71d56bc7e3..a1ab886acc18 100644
--- a/drivers/staging/media/tegra-video/vip.c
+++ b/drivers/staging/media/tegra-video/vip.c
@@ -257,11 +257,8 @@ static int tegra_vip_probe(struct platform_device *pdev)
 static int tegra_vip_remove(struct platform_device *pdev)
 {
 	struct tegra_vip *vip = platform_get_drvdata(pdev);
-	int err;

-	err = host1x_client_unregister(&vip->client);
-	if (err)
-		return dev_err_probe(&pdev->dev, err, "failed to unregister host1x client\n");
+	host1x_client_unregister(&vip->client);

 	pm_runtime_disable(&pdev->dev);


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-25 11:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-25 11:33 [PATCH] tegra-video: host1x_client_unregister now returns void Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).