summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorLi Jun <lijun01@kylinos.cn>2026-09-10 20:47:30 +0800
committerGuenter Roeck <linux@roeck-us.net>2026-09-21 07:25:21 -0700
commit17908f89973510e8af7db8a53d3f3df484651c5b (patch)
treee25a1fa3e91b5fe73d4656166ce275434a31c89b /tools/perf/scripts/python/bin/stackcollapse-report
parentf12d5facded74f001a51ad3f0cf3241d204c41ba (diff)
watchdog: PM: use DEFINE_SIMPLE_DEV_PM_OPS and pm_sleep_ptr for 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. Wrap the dev_pm_ops assignment with pm_sleep_ptr() so the entire dev_pm_ops structure is dropped when CONFIG_PM_SLEEP is disabled, instead of leaving it as a dead struct with NULL callbacks. Signed-off-by: Li Jun <lijun01@kylinos.cn> Link: https://patch.msgid.link/20260910124730.1127847-1-lijun01@kylinos.cn Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions