OSDN Git Service

ALSA: adlib: Allocate resources with device-managed APIs
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Jul 2021 07:59:18 +0000 (09:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Jul 2021 14:17:16 +0000 (16:17 +0200)
commit5d50e348a499dcf5ba40dd797ac15fa78fe8d06b
tree6dd4481038e2ca4053488ccbb41693eb73e284a9
parente031577eef6118bd9c4f3ec319f69986531cd32c
ALSA: adlib: Allocate resources with device-managed APIs

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