mirror of https://github.com/torvalds/linux.git
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 |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| fsl_dcu_drm_crtc.c | ||
| fsl_dcu_drm_crtc.h | ||
| fsl_dcu_drm_drv.c | ||
| fsl_dcu_drm_drv.h | ||
| 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 | ||
| fsl_tcon.c | ||
| fsl_tcon.h | ||