drm/exynos: fix opencoded use of drm_panel_*
authorSam Ravnborg <sam@ravnborg.org>
Sun, 4 Aug 2019 20:16:24 +0000 (22:16 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 1 Dec 2019 11:17:54 +0000 (12:17 +0100)
Call via drm_panel_get_modes().

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Cc: Inki Dae <inki.dae@samsung.com>
Cc: Joonyoung Shim <jy0922.shim@samsung.com>
Cc: Seung-Woo Kim <sw0312.kim@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Kukjin Kim <kgene@kernel.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Link: https://patchwork.freedesktop.org/patch/msgid/20190804201637.1240-4-sam@ravnborg.org
drivers/gpu/drm/exynos/exynos_drm_dsi.c

index 72726f2c7a9fb035631d9df9bee2f42a8ee05902..ceb370864cc4f01899dbb47d60cfb17a742ad54b 100644 (file)
@@ -1461,7 +1461,7 @@ static int exynos_dsi_get_modes(struct drm_connector *connector)
        struct exynos_dsi *dsi = connector_to_dsi(connector);
 
        if (dsi->panel)
-               return dsi->panel->funcs->get_modes(dsi->panel);
+               return drm_panel_get_modes(dsi->panel);
 
        return 0;
 }