diff options
author | Fabio Estevam <festevam@denx.de> | 2024-08-07 20:14:56 +0200 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2024-09-10 00:33:55 +0200 |
commit | 2d30c638f98408c0d2ad5a8c3b2421328aa30213 (patch) | |
tree | f6ebfb9dac58b1d8db58834d26ade1ec951493b5 /tools/tracing | |
parent | i2c: mt65xx: Avoid double initialization of restart_flag in isr (diff) | |
download | linux-2d30c638f98408c0d2ad5a8c3b2421328aa30213.tar.xz linux-2d30c638f98408c0d2ad5a8c3b2421328aa30213.zip |
i2c: imx: Switch to RUNTIME_PM_OPS()
Replace SET_RUNTIME_PM_OPS() with its modern RUNTIME_PM_OPS()
alternative.
The combined usage of pm_ptr() and RUNTIME_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 __maybe_unused notation from the runtime
suspend/resume() functions.
Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/tracing')
0 files changed, 0 insertions, 0 deletions