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
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
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
Makefile
mx2_emmaprp.c