diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2019-08-04 22:16:30 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2019-12-01 12:17:54 +0100 |
commit | de2501381470f7374cd502c239eecf8a3f67f65f (patch) | |
tree | 18f32ae49b8c8394b27eec824526378f908bcfdc /drivers | |
parent | 480ab0ee8b12d1da4c9ee72fd6facfb6d95b487b (diff) | |
download | linux-de2501381470f7374cd502c239eecf8a3f67f65f.tar.bz2 |
drm/tegra: fix opencoded use of drm_panel_*
Use the drm_panel_get_modes function.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Jonathan Hunter <jonathanh@nvidia.com>
Cc: linux-tegra@vger.kernel.org
Link: https://patchwork.freedesktop.org/patch/msgid/20190804201637.1240-10-sam@ravnborg.org
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/tegra/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/output.c b/drivers/gpu/drm/tegra/output.c index bdcaa4c7168c..5bdbf9ffcda1 100644 --- a/drivers/gpu/drm/tegra/output.c +++ b/drivers/gpu/drm/tegra/output.c @@ -23,7 +23,7 @@ int tegra_output_connector_get_modes(struct drm_connector *connector) * ignore any other means of obtaining a mode. */ if (output->panel) { - err = output->panel->funcs->get_modes(output->panel); + err = drm_panel_get_modes(output->panel); if (err > 0) return err; } |