mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
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
This commit is contained in:
parent
41abc8056d
commit
ca2f73ffaa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user