diff options
author | Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> | 2024-02-02 11:41:25 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-02-06 13:14:56 +0300 |
commit | 6ccc22a5afcbac46d55866d72eaba22f43491c00 (patch) | |
tree | ac4994ddfb17df1c9a89d340a6a8b5100137f234 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b1768e3dc47792ac5876643604be25bc8ed17cd4 (diff) | |
download | linux-6ccc22a5afcbac46d55866d72eaba22f43491c00.tar.xz |
net: ravb: Switch to SYSTEM_SLEEP_PM_OPS()/RUNTIME_PM_OPS() and pm_ptr()
SET_SYSTEM_SLEEP_PM_OPS() and SET_RUNTIME_PM_OPS() are deprecated now
and require __maybe_unused protection against unused function warnings.
The usage of pm_ptr() and SYSTEM_SLEEP_PM_OPS()/RUNTIME_PM_OPS() allows
the compiler to see the functions, thus suppressing the warning. Thus
drop the __maybe_unused markings.
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions