]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: hda-intel: Convert to RUNTIME_PM_OPS()
authorTakashi Iwai <tiwai@suse.de>
Thu, 13 Mar 2025 17:07:23 +0000 (18:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 14 Mar 2025 10:07:13 +0000 (11:07 +0100)
commitdd69342a043ef7080093b92a015ce7a22c810aad
treed78c8a7ff04a0958b560416b45d60ba72a6adb60
parent3f38aa32c51eb9c3b124004e11ee48fbca3c55e7
ALSA: hda-intel: Convert to RUNTIME_PM_OPS()

Use the newer RUNTIME_PM_OPS() macro instead of SET_RUNTIME_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-6-tiwai@suse.de
sound/pci/hda/hda_intel.c