summaryrefslogtreecommitdiffstats
path: root/Documentation/block
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-08-07 09:52:11 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2022-09-05 22:00:42 +0200
commitddbbed25309f1cd0079e5b099748568842a5ec2b (patch)
tree785559823b271d5e90fe5673f89b63836914448f /Documentation/block
parentd945346db1ef41e91ae4b9239cf37e2210368dd1 (diff)
downloadlinux-ddbbed25309f1cd0079e5b099748568842a5ec2b.tar.bz2
can: rcar_canfd: Use dev_err_probe() to simplify code and better handle -EPROBE_DEFER
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@wanadoo.fr> Link: https://lore.kernel.org/all/f5bf0b8f757bd3bc9b391094ece3548cc2f96456.1659858686.git.christophe.jaillet@wanadoo.fr Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'Documentation/block')
0 files changed, 0 insertions, 0 deletions