]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
Merge patch series "can: Convert to platform remove callback returning void"
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 15 May 2023 20:54:22 +0000 (22:54 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 15 May 2023 20:54:22 +0000 (22:54 +0200)
Uwe Kleine-König <u.kleine-koenig@pengutronix.de> says:

this series converts the drivers below drivers/net/can to the
.remove_new() callback of struct platform_driver(). The motivation is to
make the remove callback less prone for errors and wrong assumptions.
See commit 5c5a7680e67b ("platform: Provide a remove callback that
returns no value") for a more detailed rationale.

All drivers already returned zero unconditionally in their
.remove() callback, so converting them to .remove_new() is trivial.

Link: https://lore.kernel.org/r/20230512212725.143824-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

Trivial merge