On 07.08.2022 09:52:11, Christophe JAILLET wrote: > devm_clk_get() can return -EPROBE_DEFER, so use dev_err_probe() instead of > dev_err() in order to be less verbose in the log. > > This also saves a few LoC. > > While at it, turn a "goto fail_dev;" at the beginning of the function into > a direct return in order to avoid mixing goto and return, which looks > spurious. > > Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> Added to 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 |
Attachment:
signature.asc
Description: PGP signature