diff options
| author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2025-12-02 15:09:20 +0100 |
|---|---|---|
| committer | Christophe Leroy (CS GROUP) <chleroy@kernel.org> | 2025-12-14 10:22:19 +0100 |
| commit | c8dff80a3108a2cb85ac7ac5b1a75c247ac55fd2 (patch) | |
| tree | be533ac03089e6834822657587f13e46c3b1d128 /include/linux/cdev.h | |
| parent | f4aff53c90e48360c91b6d902b935ecbaccb0b62 (diff) | |
bus: fsl-mc: Convert to bus callbacks
With the eventual goal to drop .probe(), .remove() and .shutdown() from
struct device_driver, convert the fsl bus to use bus methods.
Other than a driver's shutdown callback the bus shutdown callback is
also called for unbound drivers. So check for the device being bound
before following the pointer to its driver.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/848fffe5c479d899c04a4c99ccb5f0128ccc942d.1764684327.git.u.kleine-koenig@baylibre.com
Link: https://lore.kernel.org/r/20251209115950.3382308-2-u.kleine-koenig@baylibre.com
[chleroy: squashed the two patches]
Signed-off-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Diffstat (limited to 'include/linux/cdev.h')
0 files changed, 0 insertions, 0 deletions
