Skip to content

Commit 574399f

Browse files
tititiou36broonie
authored andcommitted
ASoC: fsl: Simplify an error message
dev_err_probe() already display the error code. There is no need to duplicate it explicitly in the error message. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com> Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com> Link: https://lore.kernel.org/r/c167c16a535049d56f817bbede9c9f6f0a0f4c68.1681626553.git.christophe.jaillet@wanadoo.fr Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent cd3beeb commit 574399f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/fsl/fsl-asoc-card.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ static int fsl_asoc_card_probe(struct platform_device *pdev)
858858

859859
ret = devm_snd_soc_register_card(&pdev->dev, &priv->card);
860860
if (ret) {
861-
dev_err_probe(&pdev->dev, ret, "snd_soc_register_card failed: %d\n", ret);
861+
dev_err_probe(&pdev->dev, ret, "snd_soc_register_card failed\n");
862862
goto asrc_fail;
863863
}
864864

0 commit comments

Comments
 (0)