ALSA: mtpav: Allocate resources with device-managed APIs
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Jul 2021 07:59:36 +0000 (09:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Jul 2021 14:17:29 +0000 (16:17 +0200)
commitaa92050f10f0c904df5ae58e3b2c70c9e4ef67c2
tree1956abe9c36817199515969ee5daab2814dcef38
parented539fc3428c6901e668e9d71ce1ca78f28cc03f
ALSA: mtpav: Allocate resources with device-managed APIs

This patch converts the resource management in mtpav driver with
devres as a clean up.  Each manual resource management is converted
with the corresponding devres helper now.

This should give no user-visible functional changes.

Link: https://lore.kernel.org/r/20210715075941.23332-75-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/mtpav.c