diff options
author | Takashi Iwai <tiwai@suse.de> | 2025-03-13 18:07:24 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2025-03-14 11:07:13 +0100 |
commit | f923335da9e813dbebcb80e6b6f397f7746dd683 (patch) | |
tree | 8074ae28cebddb83cf15bb24bae0dea5a4c1fb2f /scripts/generate_rust_analyzer.py | |
parent | dd69342a043ef7080093b92a015ce7a22c810aad (diff) |
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
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions