aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/emu8000.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-07-15 09:59:16 +0200
committerTakashi Iwai <tiwai@suse.de>2021-07-19 16:17:14 +0200
commit5eab6cb0344d06dc654f3f98a44359e07fc98179 (patch)
tree5c24cc14bec4c803d59ad18dbfd2a82f4aaaefd3 /include/sound/emu8000.h
parentALSA: wss: Allocate resources with device-managed APIs (diff)
downloadlinux-dev-5eab6cb0344d06dc654f3f98a44359e07fc98179.tar.xz
linux-dev-5eab6cb0344d06dc654f3f98a44359e07fc98179.zip
ALSA: sb: Allocate resources with device-managed APIs
This patch converts the resource management in ISA sb drivers with devres as a clean up. Each manual resource management is converted with the corresponding devres helper, and the card object release is managed now via card->private_free instead of a lowlevel snd_device. This should give no user-visible functional changes. Link: https://lore.kernel.org/r/20210715075941.23332-55-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/emu8000.h')
-rw-r--r--include/sound/emu8000.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/emu8000.h b/include/sound/emu8000.h
index ad0365d6de5e..072791bbcf5c 100644
--- a/include/sound/emu8000.h
+++ b/include/sound/emu8000.h
@@ -56,9 +56,6 @@ struct snd_emu8000 {
unsigned long port1; /* Port usually base+0 */
unsigned long port2; /* Port usually at base+0x400 */
unsigned long port3; /* Port usually at base+0x800 */
- struct resource *res_port1;
- struct resource *res_port2;
- struct resource *res_port3;
unsigned short last_reg;/* Last register command */
spinlock_t reg_lock;