[PATCH] treewide: use dev_err_probe instead of comparisons against EPROBE_DEFER

Sascha Hauer s.hauer at pengutronix.de
Mon Feb 19 23:27:01 PST 2024


On Mon, 19 Feb 2024 18:26:59 +0100, Ahmad Fatoum wrote:
> Drivers should not need to compare an error value against EPROBE_DEFER.
> We have a number of drivers doing that though to decide whether to print
> an error or not. This error message will be lost if the probe is
> deferred, so use dev_err_probe to store the error in that case.
> 
> While at it, we shorten the error messages a bit. dev_err_probe will
> already print the string 'error' before the error code string.
> 
> [...]

Applied, thanks!

[1/1] treewide: use dev_err_probe instead of comparisons against EPROBE_DEFER
      https://git.pengutronix.de/cgit/barebox/commit/?id=b305ee5e0439 (link may not be stable)

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




More information about the barebox mailing list