aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorClaudiu Beznea <[email protected]>2024-02-02 10:41:25 +0200
committerPaolo Abeni <[email protected]>2024-02-06 11:14:56 +0100
commit6ccc22a5afcbac46d55866d72eaba22f43491c00 (patch)
treeac4994ddfb17df1c9a89d340a6a8b5100137f234 /lib/string_helpers.c
parentb1768e3dc47792ac5876643604be25bc8ed17cd4 (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