diff options
author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2023-12-09 23:32:21 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-12-18 17:03:51 +0300 |
commit | 78d3924675d4e076faa5600b48b8565fcb135ee0 (patch) | |
tree | 091f34224f1f05159c7bc2412fc612997500af34 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2cef11ec3dfd5f14d8ddef917682408ed01e5805 (diff) | |
download | linux-78d3924675d4e076faa5600b48b8565fcb135ee0.tar.xz |
ASoC: amd: vangogh: Switch to {RUNTIME,SYSTEM_SLEEP}_PM_OPS
Replace the old SET_{RUNTIME,SYSTEM_SLEEP}_PM_OPS() helpers with their
modern alternatives and drop the now unnecessary __maybe_unused
qualifier in the suspend and resume functions.
Additionally, make use of pm_ptr() to ensure the PM ops are dropped when
building with CONFIG_PM disabled.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Link: https://msgid.link/r/20231209203229.878730-4-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions