]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: hda: Use RUNTIME_PM_OPS() and pm_ptr()
authorTakashi Iwai <tiwai@suse.de>
Thu, 13 Mar 2025 17:07:22 +0000 (18:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 14 Mar 2025 10:07:13 +0000 (11:07 +0100)
commit3f38aa32c51eb9c3b124004e11ee48fbca3c55e7
tree9603ea5643c888b8b53804073e600e6396816572
parent0d8dfeba4b8076e7b056411d743c797e4cdc11e3
ALSA: hda: Use RUNTIME_PM_OPS() and pm_ptr()

Clean up the code with the helper macros, and also assure that no PM
ops is assigned without CONFIG_PM via pm_ptr().

Merely a cleanup, there should be no actual code change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250313170731.26943-5-tiwai@suse.de
sound/pci/hda/hda_bind.c
sound/pci/hda/hda_codec.c