diff options
author | Christophe JAILLET <[email protected]> | 2023-04-16 08:29:34 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-04-19 13:43:02 +0100 |
commit | 574399f4c997ad71fab95dd875a9ff55424f9a3d (patch) | |
tree | 8c6daad9e8e8e24abb57af91041142abc42f6a8f | |
parent | cd3beeb8c62473ac5ffee8ad7a8890f0363cf1f0 (diff) |
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 <[email protected]>
Reviewed-by: Iuliana Prodan <[email protected]>
Acked-by: Shengjiu Wang <[email protected]>
Link: https://lore.kernel.org/r/c167c16a535049d56f817bbede9c9f6f0a0f4c68.1681626553.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | sound/soc/fsl/fsl-asoc-card.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c index bffa1048d31e..40870668ee24 100644 --- a/sound/soc/fsl/fsl-asoc-card.c +++ b/sound/soc/fsl/fsl-asoc-card.c @@ -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; } |