diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-08-07 15:34:21 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-08-08 07:49:46 +0200 |
commit | 56887daf2fa9206fa0fec7cfe6428835e0b66264 (patch) | |
tree | 8fc4e2fb72375d400c2eee6c9d79330567579dc2 /sound/core | |
parent | b8986876e7196941c9723065e893af1a6528ecee (diff) |
ALSA: control_led: Use dev_err()
Use the standard print API instead of open-coded printk().
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20240807133452.9424-32-tiwai@suse.de
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/control_led.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/control_led.c b/sound/core/control_led.c index 804805a95e2f..54dcfce983b8 100644 --- a/sound/core/control_led.c +++ b/sound/core/control_led.c @@ -677,7 +677,7 @@ static void snd_ctl_led_sysfs_add(struct snd_card *card) cerr: put_device(&led_card->dev); cerr2: - printk(KERN_ERR "snd_ctl_led: unable to add card%d", card->number); + dev_err(card->dev, "snd_ctl_led: unable to add card%d", card->number); } } |