Skip to content

Commit

Permalink
spi: fsl-spi: Remove redundant probe error message
Browse files Browse the repository at this point in the history
An error message is already emitted by the driver core function
call_driver_probe() when the driver probe fails. Therefore, this
redundant probe error message is removed.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Link: https://patch.msgid.link/20250410-spi-v1-2-56e867cc19cf@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Kevin Hao authored and Mark Brown committed Apr 10, 2025
1 parent 5d07ab2 commit 82bedbf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/spi/spi-fsl-qspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,6 @@ static int fsl_qspi_probe(struct platform_device *pdev)
err_put_ctrl:
spi_controller_put(ctlr);

dev_err(dev, "Freescale QuadSPI probe failed\n");
return ret;
}

Expand Down

0 comments on commit 82bedbf

Please sign in to comment.