summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2020-11-19 17:16:04 +0100
committerMark Brown <broonie@kernel.org>2020-11-20 13:49:12 +0000
commit7795d4757502d8615bf092d628d424300bb31e5f (patch)
treee1e07b7bb72bc92534873b75c0ca2a49ae902f3b /virt
parent9db34ee64ce492c7ede3555ed690c8253d9935e4 (diff)
spi: Warn when a driver's remove callback returns an error
The driver core ignores the return value of struct device_driver::remove (because in general there is nothing that can be done about that). So add a warning when an spi driver returns an error. This simplifies the quest to make struct device_driver::remove return void. A consequent change would be to make struct spi_driver::remove return void, but I'm keeping this quest for later (or someone else). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20201119161604.2633521-3-u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions