diff options
author | Dawei Li <set_pte_at@outlook.com> | 2023-01-06 18:28:03 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-01-06 20:50:13 +0300 |
commit | 33ae3d0955943ac5bacfcb6911cf7cb74822bf8c (patch) | |
tree | e7895a129cf40a9df98a9c0bef948ad2f4e898e3 /include/linux/soc | |
parent | f02a537357a61e7892587c0f3455f8295cc9075c (diff) | |
download | linux-33ae3d0955943ac5bacfcb6911cf7cb74822bf8c.tar.xz |
soc: qcom: apr: make remove callback of apr driver void returned
Since commit fc7a6209d571 ("bus: Make remove callback return void")
forces bus_type::remove be void-returned, it doesn't make much sense
for any bus based driver implementing remove callbalk to return
non-void to its caller.
As such, change the remove function for apr bus based drivers to
return void.
Signed-off-by: Dawei Li <set_pte_at@outlook.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/TYCP286MB23232B7968D34DB8323B0F16CAFB9@TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM
Diffstat (limited to 'include/linux/soc')
-rw-r--r-- | include/linux/soc/qcom/apr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/soc/qcom/apr.h b/include/linux/soc/qcom/apr.h index 23c5b30f3511..be98aebcb3e1 100644 --- a/include/linux/soc/qcom/apr.h +++ b/include/linux/soc/qcom/apr.h @@ -153,7 +153,7 @@ typedef struct apr_device gpr_device_t; struct apr_driver { int (*probe)(struct apr_device *sl); - int (*remove)(struct apr_device *sl); + void (*remove)(struct apr_device *sl); int (*callback)(struct apr_device *a, struct apr_resp_pkt *d); int (*gpr_callback)(struct gpr_resp_pkt *d, void *data, int op); |