aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-07-15 09:59:24 +0200
committerTakashi Iwai <tiwai@suse.de>2021-07-19 16:17:20 +0200
commit1bb11c1c7f6e264a737b30c667c3c84fbe511d98 (patch)
tree1951dfc613380be046813a16217e3f4e9cc78dca /include
parentALSA: cs423x: Allocate resources with device-managed APIs (diff)
downloadlinux-dev-1bb11c1c7f6e264a737b30c667c3c84fbe511d98.tar.xz
linux-dev-1bb11c1c7f6e264a737b30c667c3c84fbe511d98.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/sound/es1688.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/es1688.h b/include/sound/es1688.h
index 099569c31fbb..da577bbf9cc7 100644
--- a/include/sound/es1688.h
+++ b/include/sound/es1688.h
@@ -18,7 +18,6 @@
struct snd_es1688 {
unsigned long port; /* port of ESS chip */
- struct resource *res_port;
unsigned long mpu_port; /* MPU-401 port of ESS chip */
int irq; /* IRQ number of ESS chip */
int mpu_irq; /* MPU IRQ */