diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-11-19 09:16:51 +0100 |
---|---|---|
committer | Jassi Brar <jassisinghbrar@gmail.com> | 2024-11-24 20:11:01 +0100 |
commit | 81f939db2a44d82d3709faa45cab727c8cf7fc27 (patch) | |
tree | fe3cac12df304853b86bf989bdd8a1305e439b11 /drivers/mailbox/zynqmp-ipi-mailbox.c | |
parent | mailbox: imx: Modify the incorrect format specifier (diff) | |
download | linux-81f939db2a44d82d3709faa45cab727c8cf7fc27.tar.xz linux-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 <u.kleine-koenig@baylibre.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/mailbox/zynqmp-ipi-mailbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/zynqmp-ipi-mailbox.c b/drivers/mailbox/zynqmp-ipi-mailbox.c index 815e0492f029..aa5249da59b2 100644 --- a/drivers/mailbox/zynqmp-ipi-mailbox.c +++ b/drivers/mailbox/zynqmp-ipi-mailbox.c @@ -1015,7 +1015,7 @@ MODULE_DEVICE_TABLE(of, zynqmp_ipi_of_match); static struct platform_driver zynqmp_ipi_driver = { .probe = zynqmp_ipi_probe, - .remove_new = zynqmp_ipi_remove, + .remove = zynqmp_ipi_remove, .driver = { .name = "zynqmp-ipi", .of_match_table = of_match_ptr(zynqmp_ipi_of_match), |