]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: opl3sa2: Allocate resources with device-managed APIs
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Jul 2021 07:59:30 +0000 (09:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Jul 2021 14:17:25 +0000 (16:17 +0200)
commit787599e3958aa6710e08b8e7927884aab6d50beb
treeaca6b62882ccbfb5ab855142a7a0a0110216c055
parentfd1124ef2a9c0ef8bd0461567caf6a54659aa67a
ALSA: opl3sa2: Allocate resources with device-managed APIs

This patch converts the resource management in ISA opl3sa2 driver 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-69-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/opl3sa2.c