diff options
| author | Shawn Lin <shawn.lin@rock-chips.com> | 2026-03-30 11:28:30 +0800 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2026-03-31 12:41:31 +0200 |
| commit | 554b0674f22feb76d9198f2f1fa23b610f548548 (patch) | |
| tree | 63f6bb12a0eb41b23184c2eb4506206fa9a024f0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a38ad7e173bc68c54f7afae7f669a824e313b1bb (diff) | |
mmc: block: Convert to use DEFINE_SIMPLE_DEV_PM_OPS()
Convert to use DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() to drop the
CONFIG_PM_SLEEP to handle the conditional compilation when PM support is
disabled. This allows the compiler to automatically optimize away the
unused code paths when CONFIG_PM_SLEEP is not selected.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
