OSDN Git Service

ALSA: wavefront: Allocate resources with device-managed APIs
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Jul 2021 07:59:33 +0000 (09:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Jul 2021 14:17:27 +0000 (16:17 +0200)
commitf082b1ad39ea1e47d1acfec229f10d9b17415b76
tree7cf4a478a4a4d8b925ce360cb2e28293cc6dfd19
parentbddc2ef1323588caa69b6b806c193db4d1f97dad
ALSA: wavefront: Allocate resources with device-managed APIs

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