aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorNuno Sá <[email protected]>2022-08-30 21:15:03 -0700
committerDmitry Torokhov <[email protected]>2022-08-30 21:16:35 -0700
commit4f35adaee07d182a4a7ef6b960c614ff3c5b4090 (patch)
tree29c522566601f9b5b0bea93e4e5fc2c1c0dafbf8 /scripts/gdb/linux/utils.py
parent73d4a5423ecee8e108056134c53f82c7a95a90d5 (diff)
Input: adp5588-keys - use new PM macros
With the new PM macros (DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()), the compiler has visibility to see that the functions are not used when !CONFIG_PM and hence, remove the dead code. As such, there's no need for '__maybe_unused'. Signed-off-by: Nuno Sá <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions