linux/drivers/gpu/drm/stm
Anusha Srivatsa 50cc9a322b
drm/stm: 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: Yannick Fertre <yannick.fertre@foss.st.com>
Cc: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Cc: Philippe Cornu <philippe.cornu@foss.st.com>
Acked-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com>
Acked-by: Raphaël Gallais-Pou <raphael.gallais-pou@foss.st.com>
Link: https://lore.kernel.org/r/20250225-memory-drm-misc-next-v1-8-9d0e8761107a@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
2025-02-26 15:27:07 +01:00
..
Kconfig drm/stm: Run DRM default client setup 2024-09-26 09:31:27 +02:00
Makefile drm/stm: lvds: add new STM32 LVDS Display Interface Transmitter driver 2024-06-28 11:17:07 +02:00
drv.c Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
dw_mipi_dsi-stm.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
ltdc.c drm/stm: move to devm_platform_ioremap_resource() usage 2025-02-26 15:27:07 +01:00
ltdc.h
lvds.c drm/bridge: Pass full state to atomic_disable 2025-02-19 16:59:12 +01:00