diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-10-25 15:13:41 +0200 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2024-10-29 11:27:37 -0600 |
commit | ad64a7c4a49d30c5d909a35e2c7882d3870ddafc (patch) | |
tree | 9ceb59b08316009833225d896d5a796ed711e247 /drivers/remoteproc/pru_rproc.c | |
parent | 3a8c30e88cfb96d6f7aaa1626446147f7fe1aff3 (diff) | |
download | lwn-ad64a7c4a49d30c5d909a35e2c7882d3870ddafc.tar.gz lwn-ad64a7c4a49d30c5d909a35e2c7882d3870ddafc.zip |
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>
Diffstat (limited to 'drivers/remoteproc/pru_rproc.c')
-rw-r--r-- | drivers/remoteproc/pru_rproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/remoteproc/pru_rproc.c b/drivers/remoteproc/pru_rproc.c index 327f0c7ee3d6..1656574b7317 100644 --- a/drivers/remoteproc/pru_rproc.c +++ b/drivers/remoteproc/pru_rproc.c @@ -1132,7 +1132,7 @@ static struct platform_driver pru_rproc_driver = { .suppress_bind_attrs = true, }, .probe = pru_rproc_probe, - .remove_new = pru_rproc_remove, + .remove = pru_rproc_remove, }; module_platform_driver(pru_rproc_driver); |