]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: cmi8330: Allocate resources with device-managed APIs
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Jul 2021 07:59:22 +0000 (09:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Jul 2021 14:17:18 +0000 (16:17 +0200)
commit35e085b9d4daae72f342f7478472b99f6d06413e
tree5d755edb45f4aead11ef6b5e215b13abd06c25f6
parentf3965b86a5005afb6521a9989bbb29642c5f7e9c
ALSA: cmi8330: Allocate resources with device-managed APIs

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