[PATCH 1/6] driver: make struct bus_type::match optional
Sascha Hauer
s.hauer at pengutronix.de
Thu Feb 29 00:10:41 PST 2024
On Wed, 28 Feb 2024 17:05:13 +0100, Ahmad Fatoum wrote:
> Newly introduce soc_bus_type doesn't define .match, which would crash
> once a driver is registered on that bus. Do as Linux does and treat a
> non-existent match callback as meaning that all drivers should be
> matched and that the probe function should indicate via -ENODEV/-ENXIO
> whether a device is indeed suitable.
>
>
> [...]
Applied, thanks!
[1/6] driver: make struct bus_type::match optional
https://git.pengutronix.de/cgit/barebox/commit/?id=78096501a5f9 (link may not be stable)
[2/6] driver: make struct bus_type::probe optional
https://git.pengutronix.de/cgit/barebox/commit/?id=15a18149a615 (link may not be stable)
[3/6] treewide: remove bus probe functions that just call driver probe
https://git.pengutronix.de/cgit/barebox/commit/?id=5ec36ba8cad4 (link may not be stable)
[4/6] usb: otg: maintain list of USB OTG controllers
https://git.pengutronix.de/cgit/barebox/commit/?id=8489b552f071 (link may not be stable)
[5/6] usb: otg: turn global otg device into device alias
https://git.pengutronix.de/cgit/barebox/commit/?id=eb633952b0be (link may not be stable)
[6/6] usb: print number of skipped OTG controllers when scanning
https://git.pengutronix.de/cgit/barebox/commit/?id=0b90c781d183 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list