OSDN Git Service

ALSA: es18xx: Allocate resources with device-managed APIs
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Jul 2021 07:59:25 +0000 (09:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Jul 2021 14:17:21 +0000 (16:17 +0200)
commit34d6599bc107c5eebe24961fe18cdaa6e9e22aef
tree9edb4db70c93ca72db26060e0b8d045159981a6f
parent1bb11c1c7f6e264a737b30c667c3c84fbe511d98
ALSA: es18xx: Allocate resources with device-managed APIs

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