aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Ravnborg <[email protected]>2019-08-04 22:16:28 +0200
committerSam Ravnborg <[email protected]>2019-08-10 15:41:48 +0200
commitce7d93aa2a080d94cca16948b9e3bef54f7ba031 (patch)
tree281b7ce5c732446f4b67217dba249e62590c7c02
parent24bc3e9ce68a41c73b32af8cd077fdf26b31516c (diff)
drm/mxsfb: fix opencoded use of drm_panel_*
Use the drm_panel_get_modes() function. Signed-off-by: Sam Ravnborg <[email protected]> Cc: Marek Vasut <[email protected]> Acked-by: Stefan Agner <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Cc: Shawn Guo <[email protected]> Cc: Sascha Hauer <[email protected]> Cc: Pengutronix Kernel Team <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: NXP Linux Team <[email protected]> Cc: [email protected] Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r--drivers/gpu/drm/mxsfb/mxsfb_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mxsfb/mxsfb_out.c b/drivers/gpu/drm/mxsfb/mxsfb_out.c
index 231d016c6f47..be36f4d6cc96 100644
--- a/drivers/gpu/drm/mxsfb/mxsfb_out.c
+++ b/drivers/gpu/drm/mxsfb/mxsfb_out.c
@@ -30,7 +30,7 @@ static int mxsfb_panel_get_modes(struct drm_connector *connector)
drm_connector_to_mxsfb_drm_private(connector);
if (mxsfb->panel)
- return mxsfb->panel->funcs->get_modes(mxsfb->panel);
+ return drm_panel_get_modes(mxsfb->panel);
return 0;
}