diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-08-05 23:39:19 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-08-15 12:18:42 +0100 |
commit | 0df874c6712d9aa8f43c50ec887a21f7b86fc917 (patch) | |
tree | 5b8d406118b74abec2e01499fc280e5d08189f43 /drivers/spi/spi-fsl-lpspi.c | |
parent | 7964e817d2311b37b86d6fbf588cd9fbe747b108 (diff) | |
download | linux-stable-0df874c6712d9aa8f43c50ec887a21f7b86fc917.tar.gz linux-stable-0df874c6712d9aa8f43c50ec887a21f7b86fc917.tar.bz2 linux-stable-0df874c6712d9aa8f43c50ec887a21f7b86fc917.zip |
spi: lpspi: Simplify some error message
dev_err_probe() already prints the error code in a human readable way, so
there is no need to duplicate it as a numerical value at the end of the
message.
Fixes: 12f62a857c83 ("spi: lpspi: Silence error message upon deferred probe")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-By: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/253543c462b765eca40ba54c66f4e3fdf4acdeb7.1659735546.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-fsl-lpspi.c')
-rw-r--r-- | drivers/spi/spi-fsl-lpspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c index 19b1f3d881b0..cbbe8bbef90a 100644 --- a/drivers/spi/spi-fsl-lpspi.c +++ b/drivers/spi/spi-fsl-lpspi.c @@ -912,7 +912,7 @@ static int fsl_lpspi_probe(struct platform_device *pdev) ret = devm_spi_register_controller(&pdev->dev, controller); if (ret < 0) { - dev_err_probe(&pdev->dev, ret, "spi_register_controller error: %i\n", ret); + dev_err_probe(&pdev->dev, ret, "spi_register_controller error\n"); goto free_dma; } |