diff options
| author | Jonathan Cameron <[email protected]> | 2022-08-07 19:56:15 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-09-21 18:42:56 +0100 |
| commit | 5c682eeecf8a255974e1f8b0695e3de40cb518a6 (patch) | |
| tree | e4a023dfb3d189c757b5d8c4b0c5583a19a65207 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
| parent | d53f6cdc1e5a974d12172978a1f0f8c555d011cb (diff) | |
iio: proximity: sx9360: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
These new macros avoid the need for marking the callbacks __maybe_unused
whilst ensuring both callbacks and structure may be dropped by the compiler
if CONFIG_PM_SLEEP is not enabled.
Signed-off-by: Jonathan Cameron <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Cc: Gwendal Grignou <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions