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

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