ALSA: msnd: Allocate resources with device-managed APIs
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Jul 2021 07:59:28 +0000 (09:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Jul 2021 14:17:24 +0000 (16:17 +0200)
commit098493041a2ce8a35eada728e136e5a5edfe24ad
treea88fe000a5723bfc33509db6d65347698f8afdfe
parent5b88da3c800f21a76b9fd755c604402c15b10855
ALSA: msnd: Allocate resources with device-managed APIs

This patch converts the resource management in ISA msnd drivers with
devres as a clean up.  Each manual resource management is converted
with the corresponding devres helper.  The remove callback became
superfluous and dropped.

This should give no user-visible functional changes.

Link: https://lore.kernel.org/r/20210715075941.23332-67-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/msnd/msnd_pinnacle.c