]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: intel-hdmi-audio: Convert to SYSTEM_SLEEP_PM_OPS()
authorTakashi Iwai <tiwai@suse.de>
Thu, 13 Mar 2025 17:07:27 +0000 (18:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 14 Mar 2025 10:07:14 +0000 (11:07 +0100)
commit9335a36faacffb91f4e2b6e98454e58c9fed99fd
treec755a1c0a2f55ae99362fa7311964639b48af6a9
parentf3f9dfde4c88b5db21b350dd61cc913ec16c5f6c
ALSA: intel-hdmi-audio: Convert to SYSTEM_SLEEP_PM_OPS()

Use the newer SYSTEM_SLEEP_PM_OPS() macro instead of
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-10-tiwai@suse.de
sound/x86/intel_hdmi_audio.c