linux-stable/drivers/net/can
Christophe JAILLET ddbbed2530 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>
2022-09-05 22:00:42 +02:00
..
c_can can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
cc770 can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
ctucanfd can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
dev can: rx-offload: can_rx_offload_init_queue(): fix typo 2022-09-05 21:54:49 +02:00
flexcan can: flexcan: fix typo: FLEXCAN_QUIRK_SUPPPORT_* -> FLEXCAN_QUIRK_SUPPORT_* 2022-09-05 22:00:42 +02:00
ifi_canfd can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
m_can can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
mscan powerpc updates for 6.0 2022-08-06 16:38:17 -07:00
peak_canfd can: peak_canfd: advertise timestamping capabilities and add ioctl support 2022-07-28 11:44:31 +02:00
rcar can: rcar_canfd: Use dev_err_probe() to simplify code and better handle -EPROBE_DEFER 2022-09-05 22:00:42 +02:00
sja1000 net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
slcan can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
softing can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
spi can: mcp251x: Fix race condition on receive interrupt 2022-08-09 21:40:22 +02:00
usb net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
at91_can.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
can327.c can: can327: fix a broken link to Documentation 2022-07-31 20:53:50 +02:00
grcan.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
janz-ican3.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
Kconfig can: slcan: use CAN network device driver API 2022-07-03 11:34:28 +02:00
kvaser_pciefd.c can: kvaser_pciefd: advertise timestamping capabilities and add ioctl support 2022-07-28 11:44:30 +02:00
Makefile can: slcan: move driver into separate sub directory 2022-07-03 11:34:44 +02:00
pch_can.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
sun4i_can.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
ti_hecc.c SPDX changes for 6.0-rc1 2022-08-04 12:12:54 -07:00
vcan.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
vxcan.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
xilinx_can.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00