1
linux/drivers/media/platform/nxp
Fabio Estevam 4fb5babe96 media: imx8mq-mipi-csi2: 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 __maybe_unused notation from the runtime
suspend/resume() functions..

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20240807182610.81244-2-festevam@gmail.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2024-08-23 16:55:30 +03:00
..
dw100
imx8-isi media: nxp: imx8-isi: Convert to platform remove callback returning void 2024-02-28 16:00:32 +01:00
imx-jpeg media: imx-jpeg: Drop initial source change event if capture has been setup 2024-06-21 08:57:09 +02:00
imx7-media-csi.c media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
imx8mq-mipi-csi2.c media: imx8mq-mipi-csi2: Switch to RUNTIME/SYSTEM_SLEEP_PM_OPS() 2024-08-23 16:55:30 +03:00
imx-mipi-csis.c media: imx-mipi-csis: Switch to RUNTIME_PM_OPS() 2024-08-23 16:55:30 +03:00
imx-pxp.c media: imx-pxp: Fix ERR_PTR dereference in pxp_probe() 2024-06-26 09:14:02 +03:00
imx-pxp.h media: imx-pxp: Rewrite coeff expression 2024-08-09 07:56:38 +02:00
Kconfig media: imx: Unstage the imx8mq-mipi-csi2 driver 2023-07-25 09:24:30 +02:00
Makefile media: imx: Unstage the imx8mq-mipi-csi2 driver 2023-07-25 09:24:30 +02:00
mx2_emmaprp.c