]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: galaxy: Allocate resources with device-managed APIs
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Jul 2021 07:59:26 +0000 (09:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Jul 2021 14:17:21 +0000 (16:17 +0200)
commitb3255ff5e014aea6039d1d604d24dce5f7446c1f
tree678917328cbbe1868e2ce44ffa38f5497f272ed2
parentbd109b50b3f98bec11c118ee63e383d65534b321
ALSA: galaxy: Allocate resources with device-managed APIs

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