diff options
| author | Uwe Kleine-König <[email protected]> | 2024-11-19 08:16:51 +0000 |
|---|---|---|
| committer | Jassi Brar <[email protected]> | 2024-11-24 19:11:01 +0000 |
| commit | 81f939db2a44d82d3709faa45cab727c8cf7fc27 (patch) | |
| tree | fe3cac12df304853b86bf989bdd8a1305e439b11 /drivers/mailbox/qcom-apcs-ipc-mailbox.c | |
| parent | mailbox: imx: Modify the incorrect format specifier (diff) | |
| download | kernel-81f939db2a44d82d3709faa45cab727c8cf7fc27.tar.gz kernel-81f939db2a44d82d3709faa45cab727c8cf7fc27.zip | |
mailbox: Switch back to struct platform_driver::remove()
After commit 0edb555a65d1 ("platform: Make platform_driver::remove()
return void") .remove() is (again) the right callback to implement for
platform drivers.
Convert all platform drivers below drivers/mailbox to use .remove(),
with the eventual goal to drop struct platform_driver::remove_new(). As
.remove() and .remove_new() have the same prototypes, conversion is done
by just changing the structure member name in the driver initializer.
Make a few indentions consistent while touching these struct
initializers.
Signed-off-by: Uwe Kleine-König <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Acked-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'drivers/mailbox/qcom-apcs-ipc-mailbox.c')
| -rw-r--r-- | drivers/mailbox/qcom-apcs-ipc-mailbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c index 7d91e7c016ba..f0d1fc0fb9ff 100644 --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c @@ -167,7 +167,7 @@ MODULE_DEVICE_TABLE(of, qcom_apcs_ipc_of_match); static struct platform_driver qcom_apcs_ipc_driver = { .probe = qcom_apcs_ipc_probe, - .remove_new = qcom_apcs_ipc_remove, + .remove = qcom_apcs_ipc_remove, .driver = { .name = "qcom_apcs_ipc", .of_match_table = qcom_apcs_ipc_of_match, |
