aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2024-08-07 15:34:02 +0200
committerTakashi Iwai <[email protected]>2024-08-08 07:47:23 +0200
commitca2f73ffaadacb14a7232aee5c2b5854483f5c40 (patch)
treead6fc5767e609aeaed054d0ea94ccd124a260554
parent41abc8056dd3125d4a9b7ac0f4087dfb67580d95 (diff)
ALSA: aloop: Use standard print API
Use pr_err() instead of open-coded printk() just for code simplification. Reviewed-by: Jaroslav Kysela <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Link: https://patch.msgid.link/[email protected]
-rw-r--r--sound/drivers/aloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c
index 439d12ad8787..3650d47b7d58 100644
--- a/sound/drivers/aloop.c
+++ b/sound/drivers/aloop.c
@@ -1896,7 +1896,7 @@ static int __init alsa_card_loopback_init(void)
}
if (!cards) {
#ifdef MODULE
- printk(KERN_ERR "aloop: No loopback enabled\n");
+ pr_err("aloop: No loopback enabled\n");
#endif
loopback_unregister_all();
return -ENODEV;