projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7964e81
)
spi: lpspi: Simplify some error message
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Fri, 5 Aug 2022 21:39:19 +0000
(23:39 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 15 Aug 2022 11:18:42 +0000
(12:18 +0100)
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>
drivers/spi/spi-fsl-lpspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-fsl-lpspi.c
b/drivers/spi/spi-fsl-lpspi.c
index 19b1f3d881b08ef9953597cad182cf780bf7fc94..cbbe8bbef90aa23079914a6477d6eb2d764f111b 100644
(file)
--- 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;
}