diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2022-07-19 23:50:18 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2022-08-01 23:33:00 +0300 |
commit | 9d14ad61551d72fdd78ee87bdf741e00f0d31ca7 (patch) | |
tree | 4e0d89d934ae4e1f1e6562d40508b93510a5c06e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 91a773f9986b5cb4d6a6610b0326ef7c472dd543 (diff) | |
download | linux-9d14ad61551d72fdd78ee87bdf741e00f0d31ca7.tar.xz |
PCI: imx6: Convert to NOIRQ_SYSTEM_SLEEP_PM_OPS()
Replace SET_NOIRQ_SYSTEM_SLEEP_PM_OPS() with NOIRQ_SYSTEM_SLEEP_PM_OPS(),
which has the advantage that the compiler always sees the PM callbacks as
referenced, so they don't need to be wrapped with "#ifdef CONFIG_PM_SLEEP"
or tagged with "__maybe_unused" to avoid "defined but not used" warnings.
See 1a3c7bb08826 ("PM: core: Add new *_PM_OPS macros, deprecate old ones").
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions