summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLi Jun <lijun01@kylinos.cn>2026-09-08 19:37:19 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-09-23 14:45:11 +0200
commit9598f73f14bb2a1d4e8fcc38c108c005f23dc4fe (patch)
tree041ca382416d819ebfa19760bbb480cb5dcd4d47 /tools/perf/scripts/python
parentd940e3d6970cb3c827331f0dcb48214ceaab6ba3 (diff)
downloadlinux-next-9598f73f14bb2a1d4e8fcc38c108c005f23dc4fe.tar.gz
linux-next-9598f73f14bb2a1d4e8fcc38c108c005f23dc4fe.zip
tty: atmel: Replace SIMPLE_DEV_PM_OPS with DEFINE_SIMPLE_DEV_PM_OPS
Replace the deprecated SIMPLE_DEV_PM_OPS with DEFINE_SIMPLE_DEV_PM_OPS. This also drops the __maybe_unused annotations on the suspend/resume callbacks, since pm_sleep_ptr() inside the new macro already handles the case where CONFIG_PM_SLEEP is disabled. When CONFIG_PM=y but CONFIG_PM_SLEEP=n (a valid configuration that enables runtime PM but disables system suspend/hibernation), this keeps a completely empty dev_pm_ops structure -- all callbacks are NULL -- as dead code in the object file.Modify pm_ptr to pm_sleep_ptr. Signed-off-by: Li Jun <lijun01@kylinos.cn> Link: https://patch.msgid.link/20260908113719.4078979-1-lijun01@kylinos.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions