can: tcan4x5x: tcan4x5x_can_probe(): remove probe failed error message
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 30 Nov 2020 13:37:09 +0000 (14:37 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 30 Nov 2020 13:55:29 +0000 (14:55 +0100)
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 <dmurphy@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/tcan4x5x.c

index 04bb392..483a78d 100644 (file)
@@ -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;
 }