diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-07-15 09:59:24 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-07-19 16:17:20 +0200 |
commit | 1bb11c1c7f6e264a737b30c667c3c84fbe511d98 (patch) | |
tree | 1951dfc613380be046813a16217e3f4e9cc78dca /include/sound | |
parent | 4287864eb0532c971ef7555804e4d44a02748b0d (diff) | |
download | linux-stable-1bb11c1c7f6e264a737b30c667c3c84fbe511d98.tar.gz linux-stable-1bb11c1c7f6e264a737b30c667c3c84fbe511d98.tar.bz2 linux-stable-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/sound')
-rw-r--r-- | include/sound/es1688.h | 1 |
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 */ |