ALSA: ymfpci: Move allocation of saved registers to struct snd_ymfpci
authorTasos Sahanidis <tasos@tasossah.com>
Wed, 29 Mar 2023 04:14:38 +0000 (07:14 +0300)
committerTakashi Iwai <tiwai@suse.de>
Wed, 29 Mar 2023 06:28:17 +0000 (08:28 +0200)
commit69a6c1ba4238ef5ce01afb6f9e1b9be79b765d5f
tree919c71b93da4f4f9a0ae084153ce1b15cb27787a
parent081364d7039395d5759dda17f6904d7e99d39f4b
ALSA: ymfpci: Move allocation of saved registers to struct snd_ymfpci

The registers were previously allocated when CONFIG_PM_SLEEP was set,
however this only saved an insignificant amount of memory otherwise.

Signed-off-by: Tasos Sahanidis <tasos@tasossah.com>
Link: https://lore.kernel.org/r/20230329041440.177363-3-tasos@tasossah.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ymfpci/ymfpci.h
sound/pci/ymfpci/ymfpci_main.c