ALSA: ymfpci: Switch to DEFINE_SIMPLE_DEV_PM_OPS()
authorTasos Sahanidis <tasos@tasossah.com>
Wed, 29 Mar 2023 04:14:37 +0000 (07:14 +0300)
committerTakashi Iwai <tiwai@suse.de>
Wed, 29 Mar 2023 06:28:00 +0000 (08:28 +0200)
commit081364d7039395d5759dda17f6904d7e99d39f4b
tree6b667c4b364703f7e1ecd5474640b0559cdf93b2
parentf09467e06b8add14fa294d38a1a2e91e36c97157
ALSA: ymfpci: Switch to DEFINE_SIMPLE_DEV_PM_OPS()

Since commit 1a3c7bb08826 ("PM: core: Add new *_PM_OPS macros, deprecate
old ones") SIMPLE_DEV_PM_OPS has been marked deprecated.

The intent is to remove CONFIG_PM_SLEEP guards for PM callbacks. As such
the ifdefs are now removed.

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