diff options
author | Claudiu Beznea <[email protected]> | 2024-02-02 10:41:25 +0200 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-02-06 11:14:56 +0100 |
commit | 6ccc22a5afcbac46d55866d72eaba22f43491c00 (patch) | |
tree | ac4994ddfb17df1c9a89d340a6a8b5100137f234 /lib/string_helpers.c | |
parent | b1768e3dc47792ac5876643604be25bc8ed17cd4 (diff) |
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 <[email protected]>
Reviewed-by: Sergey Shtylyov <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions