From: Marc Kleine-Budde Date: Mon, 30 Nov 2020 13:37:09 +0000 (+0100) Subject: can: tcan4x5x: tcan4x5x_can_probe(): remove probe failed error message X-Git-Tag: accepted/tizen/unified/20230118.172025~8321^2~151^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca3ad869dab1d2fb3dfa070053f1859746a617e3;p=platform%2Fkernel%2Flinux-rpi.git can: tcan4x5x: tcan4x5x_can_probe(): remove probe failed error message The driver core already emits a probe failed error message, so remove this one from the driver. Link: https://lore.kernel.org/r/20201130133713.269256-3-mkl@pengutronix.de Reviewed-by: Dan Murphy Signed-off-by: Marc Kleine-Budde --- diff --git a/drivers/net/can/m_can/tcan4x5x.c b/drivers/net/can/m_can/tcan4x5x.c index 04bb392..483a78d 100644 --- a/drivers/net/can/m_can/tcan4x5x.c +++ b/drivers/net/can/m_can/tcan4x5x.c @@ -516,8 +516,6 @@ out_clk: } out_m_can_class_free_dev: m_can_class_free_dev(mcan_class->net); - dev_err(&spi->dev, "Probe failed, err=%d\n", ret); - return ret; }