summaryrefslogtreecommitdiffstats
path: root/sound/drivers/aloop.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-08-07 15:34:02 +0200
committerTakashi Iwai <tiwai@suse.de>2024-08-08 07:47:23 +0200
commitca2f73ffaadacb14a7232aee5c2b5854483f5c40 (patch)
treead6fc5767e609aeaed054d0ea94ccd124a260554 /sound/drivers/aloop.c
parentALSA: vx_core: Use standard print API (diff)
downloadlinux-ca2f73ffaadacb14a7232aee5c2b5854483f5c40.tar.xz
linux-ca2f73ffaadacb14a7232aee5c2b5854483f5c40.zip
ALSA: aloop: Use standard print API
Use pr_err() instead of open-coded printk() just for code simplification. Reviewed-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20240807133452.9424-13-tiwai@suse.de
Diffstat (limited to 'sound/drivers/aloop.c')
-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;