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>
This commit is contained in:
parent
cd3beeb8c6
commit
574399f4c9
@ -858,7 +858,7 @@ static int fsl_asoc_card_probe(struct platform_device *pdev)
|
||||
|
||||
ret = devm_snd_soc_register_card(&pdev->dev, &priv->card);
|
||||
if (ret) {
|
||||
dev_err_probe(&pdev->dev, ret, "snd_soc_register_card failed: %d\n", ret);
|
||||
dev_err_probe(&pdev->dev, ret, "snd_soc_register_card failed\n");
|
||||
goto asrc_fail;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user