]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: ac97: Convert to RUNTIME_PM_OPS() macro
authorTakashi Iwai <tiwai@suse.de>
Thu, 13 Mar 2025 17:07:19 +0000 (18:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 14 Mar 2025 10:07:13 +0000 (11:07 +0100)
commit3954382bb5b28e09e20c7ff24a4f5ec003399204
treecd755569eb69c7b032f1cdd35f4bf3ad9c7e4e9d
parent520a563b9a162d8a7484a32086de8e7c84d69945
ALSA: ac97: Convert to RUNTIME_PM_OPS() macro

Use a newer RUNTIME_PM_OPS() macro instead of SET_RUNTIME_PM_OPS()
together with pm_ptr(), which makes CONFIG_PM ifdefs superfluous.

This optimizes slightly when CONFIG_PM is disabled, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250313170731.26943-2-tiwai@suse.de
sound/ac97/bus.c