projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
020adbf
)
ASoC: sam9g20_wm8731: Simplify some error message
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Sat, 6 Aug 2022 05:45:48 +0000
(07:45 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 15 Aug 2022 00:20:05 +0000
(
01:20
+0100)
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>
sound/soc/atmel/sam9g20_wm8731.c
patch
|
blob
|
history
diff --git
a/sound/soc/atmel/sam9g20_wm8731.c
b/sound/soc/atmel/sam9g20_wm8731.c
index 4d25fb61c6527fd3d71b874951f09d1c750b4fc2..1430642c8433ab11d35aa953bd08c879cff7a21a 100644
(file)
--- 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;
}