aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-08-06 07:45:48 +0200
committerMark Brown <broonie@kernel.org>2022-08-15 01:20:05 +0100
commit7d67657cb472a80d54457362bc421f2b57ee250b (patch)
tree6a98c401e4cfc0465df8e36b15e68ce3d4dec58d
parentASoC: codecs: dt bind. doc for the new TI SRC4392 codec (diff)
downloadwireguard-linux-7d67657cb472a80d54457362bc421f2b57ee250b.tar.xz
wireguard-linux-7d67657cb472a80d54457362bc421f2b57ee250b.zip
ASoC: sam9g20_wm8731: Simplify some error message
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: 29f4078f777f ("ASoC: sam9g20_wm8731: Use dev_err_probe() for snd_soc_register_card()") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/fb959b3bda689aa47e1fbe9948de957b77530b24.1659764734.git.christophe.jaillet@wanadoo.fr Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/atmel/sam9g20_wm8731.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/atmel/sam9g20_wm8731.c b/sound/soc/atmel/sam9g20_wm8731.c
index 4d25fb61c652..1430642c8433 100644
--- a/sound/soc/atmel/sam9g20_wm8731.c
+++ b/sound/soc/atmel/sam9g20_wm8731.c
@@ -172,7 +172,7 @@ static int at91sam9g20ek_audio_probe(struct platform_device *pdev)
ret = snd_soc_register_card(card);
if (ret) {
dev_err_probe(&pdev->dev, ret,
- "snd_soc_register_card() failed: %d\n", ret);
+ "snd_soc_register_card() failed\n");
goto err;
}