[PATCH] can: xilinx_can: Simplify code by using dev_err_probe()
Marc Kleine-Budde
mkl at pengutronix.de
Thu Feb 4 07:49:10 EST 2021
On 04.02.2021 13:42:48, Michal Simek wrote:
> Use already prepared dev_err_probe() introduced by commit a787e5400a1c
> ("driver core: add device probe log helper").
> It simplifies EPROBE_DEFER handling.
>
> Also unify message format for similar error cases.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
Applied to linux-can-next/testing.
Thanks,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210204/00d0b4e2/attachment.sig>
More information about the linux-arm-kernel
mailing list