mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 10:46:33 +00:00
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
This commit is contained in:
parent
b8986876e7
commit
56887daf2f
@ -677,7 +677,7 @@ static void snd_ctl_led_sysfs_add(struct snd_card *card)
|
|||||||
cerr:
|
cerr:
|
||||||
put_device(&led_card->dev);
|
put_device(&led_card->dev);
|
||||||
cerr2:
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user