<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 16, 2023 at 2:29 PM Christophe JAILLET <<a href="mailto:christophe.jaillet@wanadoo.fr">christophe.jaillet@wanadoo.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">dev_err_probe() already display the error code. There is no need to<br>
duplicate it explicitly in the error message.<br>
<br>
Signed-off-by: Christophe JAILLET <<a href="mailto:christophe.jaillet@wanadoo.fr" target="_blank">christophe.jaillet@wanadoo.fr</a>><br></blockquote><div><br></div><div>Acked-by: Shengjiu Wang <<a href="mailto:shengjiu.wang@gmail.com">shengjiu.wang@gmail.com</a>></div><div><br></div><div>Best regards</div><div>wang shengjiu <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
---<br>
 sound/soc/fsl/fsl-asoc-card.c | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c<br>
index bffa1048d31e..40870668ee24 100644<br>
--- a/sound/soc/fsl/fsl-asoc-card.c<br>
+++ b/sound/soc/fsl/fsl-asoc-card.c<br>
@@ -858,7 +858,7 @@ static int fsl_asoc_card_probe(struct platform_device *pdev)<br>
<br>
        ret = devm_snd_soc_register_card(&pdev->dev, &priv->card);<br>
        if (ret) {<br>
-               dev_err_probe(&pdev->dev, ret, "snd_soc_register_card failed: %d\n", ret);<br>
+               dev_err_probe(&pdev->dev, ret, "snd_soc_register_card failed\n");<br>
                goto asrc_fail;<br>
        }<br>
<br>
-- <br>
2.34.1<br>
<br>
</blockquote></div></div>