mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 14:24:11 +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) {
|
if (!cards) {
|
||||||
#ifdef MODULE
|
#ifdef MODULE
|
||||||
printk(KERN_ERR "aloop: No loopback enabled\n");
|
pr_err("aloop: No loopback enabled\n");
|
||||||
#endif
|
#endif
|
||||||
loopback_unregister_all();
|
loopback_unregister_all();
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
Loading…
Reference in New Issue
Block a user