drm/msm: fix opencoded use of drm_panel_*

Use the function drm_panel_get_modes().

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Cc: Alexios Zavras <alexios.zavras@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Allison Randal <allison@lohutok.net>
Cc: Enrico Weigelt <info@metux.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190804201637.1240-7-sam@ravnborg.org
This commit is contained in:
Sam Ravnborg 2019-08-04 22:16:27 +02:00
parent d02d8a9ce8
commit 480ab0ee8b
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ static int mdp4_lvds_connector_get_modes(struct drm_connector *connector)
if (panel) {
drm_panel_attach(panel, connector);
ret = panel->funcs->get_modes(panel);
ret = drm_panel_get_modes(panel);
drm_panel_detach(panel);
}