linux/drivers/gpu/drm/fsl-dcu
Anusha Srivatsa 41668e792e drm/fsl-dcu: move to devm_platform_ioremap_resource() usage
Replace platform_get_resource + devm_ioremap_resource
with just devm_platform_ioremap_resource()

Used Coccinelle to do this change. SmPl patch:
@rule_1@
identifier res;
expression ioremap_res;
identifier pdev;
@@
-struct resource *res;
...
-res = platform_get_resource(pdev,...);
-ioremap_res = devm_ioremap_resource(...);
+ioremap_res = devm_platform_ioremap_resource(pdev,0);

Cc: Stefan Agner <stefan@agner.ch>
Cc: Alison Wang <alison.wang@nxp.com>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com>
Link: https://patchwork.freedesktop.org/patch/640851/?series=144073&rev=5
2025-03-06 12:37:33 -05:00
..
fsl_dcu_drm_crtc.c
fsl_dcu_drm_crtc.h
fsl_dcu_drm_drv.c drm/fsl-dcu: move to devm_platform_ioremap_resource() usage 2025-03-06 12:37:33 -05:00
fsl_dcu_drm_drv.h drm: fsl-dcu: enable PIXCLK on LS1021A 2024-10-19 17:27:57 +03:00
fsl_dcu_drm_kms.c
fsl_dcu_drm_output.h
fsl_dcu_drm_plane.c
fsl_dcu_drm_plane.h
fsl_dcu_drm_rgb.c drm/connector: make mode_valid take a const struct drm_display_mode 2025-01-07 12:45:19 +02:00
fsl_tcon.c
fsl_tcon.h
Kconfig drm: fsl-dcu: enable PIXCLK on LS1021A 2024-10-19 17:27:57 +03:00
Makefile