]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sdio: Provide a bustype shutdown function
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Mon, 12 Jan 2026 15:46:57 +0000 (16:46 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 27 Jan 2026 12:42:20 +0000 (13:42 +0100)
commitc5c57e56de55eff39e68c19edbe82f84104976db
tree1a1ae1bc24906ecf4b2e1eb94486a4643b7d53ad
parent853800c746d38486673ef67f461b660a01d52716
sdio: Provide a bustype shutdown function

To prepare sdio drivers 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 that isn't converted yet to that
callback at register time.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://patch.msgid.link/397f45c2818f6632151f92b70e547262f373c3b6.1768232321.git.u.kleine-koenig@baylibre.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/mmc/core/sdio_bus.c
include/linux/mmc/sdio_func.h