summaryrefslogtreecommitdiff
path: root/include/linux/host1x.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-03-22 20:02:12 +0300
committerThierry Reding <treding@nvidia.com>2023-04-04 14:59:10 +0300
commit1d83d1a2df0bfb6bd79400746c289e2c4edc5909 (patch)
tree3211513bcfb20d28d63ca21dd3ab429619c0bff5 /include/linux/host1x.h
parent22b9442a6ad8f43994ff96d2a38bee9cea4d6641 (diff)
downloadlinux-1d83d1a2df0bfb6bd79400746c289e2c4edc5909.tar.xz
gpu: host1x: Make host1x_client_unregister() return void
This function returned zero unconditionally. Make it return no value and simplify all callers accordingly. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/linux/host1x.h')
-rw-r--r--include/linux/host1x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/host1x.h b/include/linux/host1x.h
index 9a9de4b97a25..9c8119ed13a4 100644
--- a/include/linux/host1x.h
+++ b/include/linux/host1x.h
@@ -443,7 +443,7 @@ int __host1x_client_register(struct host1x_client *client);
__host1x_client_register(client); \
})
-int host1x_client_unregister(struct host1x_client *client);
+void host1x_client_unregister(struct host1x_client *client);
int host1x_client_suspend(struct host1x_client *client);
int host1x_client_resume(struct host1x_client *client);