diff options
| author | Jonathan Cameron <[email protected]> | 2023-01-02 18:18:10 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-01-09 20:25:24 -0800 |
| commit | eb36403d2f32191671dc4f00cabb2cf89f64e292 (patch) | |
| tree | 8c9131adf628eef3c83ec8ed70bda1fc0133c70b /tools/perf/scripts/python/flamegraph.py | |
| parent | a259afe95f2ef0264b2fd78238acb418d9aaea02 (diff) | |
Input: chipone_in8318 - 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 #ifdef guards.
Signed-off-by: Jonathan Cameron <[email protected]>
Cc: Hans de Goede <[email protected]>
Reviewed-by: Hans de Goede <[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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions