]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serdev: Provide a bustype shutdown function
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Fri, 12 Dec 2025 08:09:06 +0000 (09:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Dec 2025 14:08:18 +0000 (15:08 +0100)
commit6d71c62b13c33ea858ab298fe20beaec5736edc7
treef3c152da3ee77e06a5dc38ab8ba943e9d5c7aee4
parent42eeed6d9f31e6063bf98d71212a6de3aac8cdd3
serdev: Provide a bustype shutdown function

To prepare serdev driver to migrate away from struct device_driver::shutdown
(and then eventually remove that callback) create a serdev driver shutdown
callback and migration code to keep the existing behaviour. Note this
introduces a warning for each driver at register time that isn't converted
yet to that callback.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/ab518883e3ed0976a19cb5b5b5faf42bd3a655b7.1765526117.git.u.kleine-koenig@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serdev/core.c
include/linux/serdev.h