aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2023-01-02 18:17:57 +0000
committerDmitry Torokhov <[email protected]>2023-01-09 20:25:23 -0800
commit60bca2ae7ed9801797362d94ff8c5e6662234696 (patch)
tree8430c089e545f7b597a65c3568847e2d22b63ac5 /tools/perf/scripts/python
parent5057e0aa48d8711dcdd9cf47b02cc253adce5a80 (diff)
Input: twl4030-vibra - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
SIMPLE_DEV_PM_OPS() is deprecated as it requires explicit protection against unused function warnings. The new combination of pm_sleep_ptr() and DEFINE_SIMPLE_DEV_PM_OPS() allows the compiler to see the functions, thus suppressing the warning, but still allowing the unused code to be removed. Thus also drop the __maybe_unused markings. Signed-off-by: Jonathan Cameron <[email protected]> Cc: Tony Lindgren <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions