[PATCH 1/3] driver: make CONFIG_DEBUG_PROBES more useful for removal

Sascha Hauer s.hauer at pengutronix.de
Fri Feb 16 03:59:50 PST 2024


On Thu, 15 Feb 2024 11:33:51 +0100, Ahmad Fatoum wrote:
> When CONFIG_DEBUG_PROBES is enabled, barebox will print a message on
> every device probe and removal. Unfortunately, the removal prints are not
> very useful, because the removal happens in the bus remove function,
> which is often a no-op, but that's not known to driver core.
> 
> To make this a bit more useful, let's allow skipping bus remove
> functions like Linux does and only print that a remove is happening if
> either a bus or driver remove function is available.
> 
> [...]

Applied, thanks!

[1/3] driver: make CONFIG_DEBUG_PROBES more useful for removal
      https://git.pengutronix.de/cgit/barebox/commit/?id=4d515afe56eb (link may not be stable)
[2/3] drivers: drop simple bus remove in favor of common implementation
      https://git.pengutronix.de/cgit/barebox/commit/?id=e8ec515026fd (link may not be stable)
[3/3] firmware: arm_scmi: call device driver remove if defined
      https://git.pengutronix.de/cgit/barebox/commit/?id=59aab0bebb1b (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list