diff options
author | Takashi Iwai <tiwai@suse.de> | 2025-03-17 12:55:47 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-03-17 13:15:02 +0300 |
commit | 212f5c4f1d45ffe43e52edc175f294426aba8ee7 (patch) | |
tree | 0d6f5424aa955ecc8d02bb5d586eee5405b4852d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | b7055fc11dc66f5dda6ffc0d88d7ede09970b244 (diff) | |
download | linux-212f5c4f1d45ffe43e52edc175f294426aba8ee7.tar.xz |
ASoC: tegra30: Convert to RUNTIME_PM_OPS() & co
Use the newer RUNTIME_PM_OPS() and SYSTEM_SLEEP_PM_OPS() macros
instead of 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.
Cc: linux-tegra@vger.kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250317095603.20073-86-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions