On Wed Dec 10, 2025 at 9:31 AM CET, Uwe Kleine-König wrote: > The callbacks .probe(), .remove() and .shutdown() for device_drivers > should go away. So migrate to bus methods. There are two differences > that need addressing: > > - The bus remove callback returns void while the driver remove callback > returns int (the actual value is ignored by the core). > - The bus shutdown callback is also called for unbound devices, so an > additional check for dev->driver != NULL is needed. > > Signed-off-by: Uwe Kleine-König <[email protected]>
Tested-by: Luca Ceresoli <[email protected]> # tegra20 tegra-video Reviewed-by: Luca Ceresoli <[email protected]> -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
