diff options
| author | Shawn Lin <shawn.lin@rock-chips.com> | 2026-03-27 12:11:23 +0800 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2026-03-27 10:25:16 +0100 |
| commit | 0aa7a5723c96d23a21291b5683ce90a13e2d3046 (patch) | |
| tree | 9a6cfd9e62daec745d161ee5a7fbfb44c6329c85 /tools/perf/scripts/python/bin | |
| parent | 3c3b759be1e11868a1224623657fad8761d91640 (diff) | |
mmc: core: Switch to use pm_ptr() for mmc_host_class_dev_pm_ops
Currently, the mmc_host_class_dev_pm_ops and its callback
functions are wrapped in #ifdef CONFIG_PM_SLEEP to handle the
conditional compilation when PM support is disabled.
Replace this #ifdef usage with the standard pm_ptr() helpers. This
allows the compiler to automatically optimize away the unused code
paths when CONFIG_PM_SLEEP is not selected, resulting in cleaner and
more maintainable code.
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/bin')
0 files changed, 0 insertions, 0 deletions
