Message ID | 20200818223519.8737-2-festevam@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] spi: imx: Do not print an error when PIO is used | expand |
On Tue, Aug 18, 2020 at 07:35:19PM -0300, Fabio Estevam wrote: > There is no point in printing a plain "probed" message on successful probe. > > Just remove it and make the kernel log a bit less noisier. This doesn't apply against current code, please check and resend.
diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c index a06679ab64f9..5f5c114ab935 100644 --- a/drivers/spi/spi-imx.c +++ b/drivers/spi/spi-imx.c @@ -1708,8 +1708,6 @@ static int spi_imx_probe(struct platform_device *pdev) goto out_clk_put; } - dev_info(&pdev->dev, "probed\n"); - clk_disable(spi_imx->clk_ipg); clk_disable(spi_imx->clk_per); return ret;
There is no point in printing a plain "probed" message on successful probe. Just remove it and make the kernel log a bit less noisier. Signed-off-by: Fabio Estevam <festevam@gmail.com> --- drivers/spi/spi-imx.c | 2 -- 1 file changed, 2 deletions(-)