OSDN Git Service

drm/bridge/synopsys: dsi: Use devm_platform_ioremap_resource() in __dw_mipi_dsi_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 21 Sep 2019 18:04:08 +0000 (20:04 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Wed, 25 Sep 2019 08:03:39 +0000 (10:03 +0200)
commit46872098077157758546b54a54868909c296af1c
tree40f3be429e37f7a2b283c1562d13955334062026
parent141f6357f45c795f0cd2651b4749302279a45d9f
drm/bridge/synopsys: dsi: Use devm_platform_ioremap_resource() in __dw_mipi_dsi_probe()

Simplify this function implementation by using a known wrapper function.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Yannick Fertré <yannick.fertre@st.com>
Tested-by: Yannick Fertré <yannick.fertre@st.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/e0d7b7d7-3e89-8b3f-04ed-0b14806e66f7@web.de
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c