linux/sound/sparc
Takashi Iwai 89bc6a3549 ALSA: sparc: dbri: Use devres card management
The dbri driver's remove callback is nothing but a simple
snd_card_free() call in addition to the snd_dbri_free() call, and the
latter can be gracefully handled by card's private_free callback.

For the code simplification, let's use the devres for managing the
card.  Now the card is created via snd_devm_card_new() that is
auto-cleaned up at probe for errors.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20261003105719.1070427-10-tiwai@suse.de
2026-10-04 20:29:48 +02:00
..
amd7930.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
cs4231.c ALSA: sparc: cs4231: Use devres card management 2026-10-04 20:29:48 +02:00
dbri.c ALSA: sparc: dbri: Use devres card management 2026-10-04 20:29:48 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile ALSA: misc: Use *-y instead of *-objs in Makefile 2024-05-08 18:18:13 +02:00