]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: hda/tegra: Convert to RUNTIME_PM_OPS() & co
authorTakashi Iwai <tiwai@suse.de>
Thu, 13 Mar 2025 17:07:24 +0000 (18:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 14 Mar 2025 10:07:13 +0000 (11:07 +0100)
commitf923335da9e813dbebcb80e6b6f397f7746dd683
tree8074ae28cebddb83cf15bb24bae0dea5a4c1fb2f
parentdd69342a043ef7080093b92a015ce7a22c810aad
ALSA: hda/tegra: Convert to RUNTIME_PM_OPS() & co

Use the newer RUNTIME_PM_OPS() and SYSTEM_SLEEP_PM_OPS() macros
instead of SET_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>
Link: https://patch.msgid.link/20250313170731.26943-7-tiwai@suse.de
sound/pci/hda/hda_tegra.c