linux/sound/soc/amd/vangogh
Takashi Iwai 5f86b16c49
ASoC: amd: Convert to RUNTIME_PM_OPS() & co
Use the newer RUNTIME_PM_OPS() and SYSTEM_SLEEP_PM_OPS() macros
instead of SET_RUNTIME_PM_OPS() and SET_SYSTEM_SLEEP_PM_OPS() together
with pm_ptr(), which allows us dropping ugly __maybe_unused
attributes.

This optimizes slightly when CONFIG_PM is disabled, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250317095603.20073-88-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-03-17 10:15:04 +00:00
..
acp5x-i2s.c ASoC: amd: convert not to use asoc_xxx() 2023-09-25 14:16:17 +02:00
acp5x-mach.c ASoC: amd: remove dpcm_xxx flags 2024-10-23 13:01:54 +01:00
acp5x-pcm-dma.c ASoC: amd: Convert to RUNTIME_PM_OPS() & co 2025-03-17 10:15:04 +00:00
acp5x.h ASoC: amd: vangogh: Add check for acp config flags in vangogh platform 2023-05-30 13:43:37 +01:00
Makefile ASoC: amd: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:13 +09:00
pci-acp5x.c ASoC: amd: vangogh: Switch to {RUNTIME,SYSTEM_SLEEP}_PM_OPS 2023-12-18 14:03:51 +00:00
vg_chip_offset_byte.h