remoteproc: Switch back to struct platform_driver::remove()
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Fri, 25 Oct 2024 13:13:41 +0000 (15:13 +0200)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 29 Oct 2024 17:27:37 +0000 (11:27 -0600)
commitad64a7c4a49d30c5d909a35e2c7882d3870ddafc
tree9ceb59b08316009833225d896d5a796ed711e247
parent3a8c30e88cfb96d6f7aaa1626446147f7fe1aff3
remoteproc: 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/remoteproc 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.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20241025131340.258233-2-u.kleine-koenig@baylibre.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
18 files changed:
drivers/remoteproc/da8xx_remoteproc.c
drivers/remoteproc/imx_dsp_rproc.c
drivers/remoteproc/imx_rproc.c
drivers/remoteproc/keystone_remoteproc.c
drivers/remoteproc/meson_mx_ao_arc.c
drivers/remoteproc/mtk_scp.c
drivers/remoteproc/pru_rproc.c
drivers/remoteproc/qcom_q6v5_adsp.c
drivers/remoteproc/qcom_q6v5_mss.c
drivers/remoteproc/qcom_q6v5_pas.c
drivers/remoteproc/qcom_q6v5_wcss.c
drivers/remoteproc/qcom_wcnss.c
drivers/remoteproc/rcar_rproc.c
drivers/remoteproc/remoteproc_virtio.c
drivers/remoteproc/st_remoteproc.c
drivers/remoteproc/stm32_rproc.c
drivers/remoteproc/ti_k3_dsp_remoteproc.c
drivers/remoteproc/wkup_m3_rproc.c