summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>2025-12-10 09:31:38 +0100
committerThierry Reding <treding@nvidia.com>2026-01-13 12:26:32 +0100
commit1f61d735b8595f80ae5cfbbe11390a49b7f45911 (patch)
tree6f92200f7e8318eb027d15d29823bf130b8be385 /include/linux
parentba3588410cedb1696cfe56ebefcc4401c6d0bb36 (diff)
host1x: Convert to bus methods
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 <u.kleine-koenig@baylibre.com> Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com> # tegra20 tegra-video Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patch.msgid.link/dd55d034c68953268ea416aa5c13e41b158fcbb4.1765355236.git.u.kleine-koenig@baylibre.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions