drm/stm: dsi: Use devm_platform_ioremap_resource()
authorYang Li <yang.lee@linux.alibaba.com>
Fri, 21 Apr 2023 08:34:02 +0000 (16:34 +0800)
committerPhilippe Cornu <philippe.cornu@foss.st.com>
Fri, 26 May 2023 10:07:34 +0000 (12:07 +0200)
commit34235f54b021ca75ab89d8af8d7f1fc420eaded0
tree02bd17981fd3ab535dce8621c494a596284780b6
parent35070674f488eefaeb753a13df11199d10328ff8
drm/stm: dsi: Use devm_platform_ioremap_resource()

Convert platform_get_resource(),devm_ioremap_resource() to a single call
to devm_platform_ioremap_resource(), as this is exactly what this function
does.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Acked-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Signed-off-by: Philippe Cornu <philippe.cornu@foss.st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230421083402.21364-1-yang.lee@linux.alibaba.com
drivers/gpu/drm/stm/dw_mipi_dsi-stm.c