diff options
author | 2025-03-17 10:55:05 +0100 | |
---|---|---|
committer | 2025-03-17 10:14:25 +0000 | |
commit | 9aaa57d36f387df01762ced4e362bcb89872d80b (patch) | |
tree | ef5637e3a5f0cc1fcdb180bcd518a9a821b32fc1 /tools/perf/scripts/python | |
parent | ASoC: rt722: Convert to RUNTIME_PM_OPS() & co (diff) | |
download | wireguard-linux-9aaa57d36f387df01762ced4e362bcb89872d80b.tar.xz wireguard-linux-9aaa57d36f387df01762ced4e362bcb89872d80b.zip |
ASoC: rt9120: 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.
Cc: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250317095603.20073-44-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions