From ca2f73ffaadacb14a7232aee5c2b5854483f5c40 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 7 Aug 2024 15:34:02 +0200 Subject: [PATCH] ALSA: aloop: Use standard print API Use pr_err() instead of open-coded printk() just for code simplification. Reviewed-by: Jaroslav Kysela Signed-off-by: Takashi Iwai Link: https://patch.msgid.link/20240807133452.9424-13-tiwai@suse.de --- sound/drivers/aloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;