OSDN Git Service

ALSA: es1688: Allocate resources with device-managed APIs
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Jul 2021 07:59:24 +0000 (09:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Jul 2021 14:17:20 +0000 (16:17 +0200)
commit1bb11c1c7f6e264a737b30c667c3c84fbe511d98
tree1951dfc613380be046813a16217e3f4e9cc78dca
parent4287864eb0532c971ef7555804e4d44a02748b0d
ALSA: es1688: Allocate resources with device-managed APIs

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