ALSA: wss: Allocate resources with device-managed APIs
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Jul 2021 07:59:15 +0000 (09:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Jul 2021 14:17:13 +0000 (16:17 +0200)
commitea2bfa2961b63d6dead8a33f533e3de5196f6d55
tree2493dcb532697c88c69dc01f0e8bb10b323d3626
parentd6fb54e87869ce91e3dc8b9ee58ed17ee9030c3c
ALSA: wss: Allocate resources with device-managed APIs

This patch converts the resource management in ISA wss driver with
devres as a clean up.  Each manual resource management is converted
with the corresponding devres helper.  Since the whole destructor code
could be removed by the conversion, the lowlevel snd_device was
dropped as well.

This should give no user-visible functional changes.

Link: https://lore.kernel.org/r/20210715075941.23332-54-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/cs423x/cs4236_lib.c
sound/isa/wss/wss_lib.c