mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 19:12:36 +00:00
The return value of struct device_driver::remove is ignored by the core (see device_remove() in drivers/base/dd.c). So it doesn't make sense to let the host1x remove callback return an int just to ignore it later. So make the callback return void. All current implementors return 0, so they are easily converted. Signed-off-by: Uwe Kleine-König <[email protected]> Tested-by: Luca Ceresoli <[email protected]> # tegra20 tegra-video Reviewed-by: Luca Ceresoli <[email protected]> Signed-off-by: Thierry Reding <[email protected]> Link: https://patch.msgid.link/d364fd4ec043d36ee12e46eaef98c57658884f63.1765355236.git.u.kleine-koenig@baylibre.com