diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-08-07 15:34:02 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-08-08 07:47:23 +0200 |
commit | ca2f73ffaadacb14a7232aee5c2b5854483f5c40 (patch) | |
tree | ad6fc5767e609aeaed054d0ea94ccd124a260554 /sound/drivers/aloop.c | |
parent | ALSA: vx_core: Use standard print API (diff) | |
download | linux-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.c | 2 |
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; |