summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2024-08-08 22:20:13 -0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-10-12 16:28:24 +0200
commitd4f53fe70e86ae4f307ec4fe38b445916dcdf9a7 (patch)
tree8e04b9f55888fa171742abd3ee4dd67bcdd089e4 /tools/perf/scripts/python
parent45defa4578cc1599bdfe2dcb7b810eafd7df90f2 (diff)
downloadlinux-d4f53fe70e86ae4f307ec4fe38b445916dcdf9a7.tar.gz
linux-d4f53fe70e86ae4f307ec4fe38b445916dcdf9a7.zip
media: imx-jpeg: Switch to RUNTIME/SYSTEM_SLEEP_PM_OPS()
Replace SET_RUNTIME_PM_OPS()/SET SYSTEM_SLEEP_PM_OPS() with their modern RUNTIME_PM_OPS() and SYSTEM_SLEEP_PM_OPS() alternatives. The combined usage of pm_ptr() and RUNTIME_PM_OPS/SYSTEM_SLEEP_PM_OPS() allows the compiler to evaluate if the runtime suspend/resume() functions are used at build time or are simply dead code. This allows removing the CONFIG_PM ifdefery from the runtime suspend/resume() functions. Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions