OSDN Git Service

spi: Use bus_type functions for probe, remove and shutdown
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 19 Nov 2020 16:16:03 +0000 (17:16 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 20 Nov 2020 13:49:11 +0000 (13:49 +0000)
commit9db34ee64ce492c7ede3555ed690c8253d9935e4
treebb539e7719e37a08e77b9bef0efc1a8bb46ca221
parent440408dbadfe47a615afd0a0a4a402e629be658a
spi: Use bus_type functions for probe, remove and shutdown

The eventual goal is to get rid of the callbacks in struct
device_driver. Other than not using driver callbacks there should be no
side effect of this patch.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20201119161604.2633521-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c