summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panel
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2015-04-30 17:38:36 +0300
committerThierry Reding <treding@nvidia.com>2016-05-12 12:32:14 +0300
commit844e2f5290799e9eac04951371593efcf2ad4660 (patch)
treeb1fe07cc58dfc91cdbfdd8895dc0fef8b43a0e67 /drivers/gpu/drm/panel
parentcda553725c92b9f908f6f69e9bc05de81384d817 (diff)
downloadlinux-844e2f5290799e9eac04951371593efcf2ad4660.tar.xz
drm/panel: simple: Remove useless drm_mode_set_name()
drm_display_mode_from_videomode() already calls drm_mode_set_name() on the provided mode. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> [treding@nvidia.com: slightly reword commit message] Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/panel')
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index a6d8a5dda424..482c5680c004 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -123,8 +123,6 @@ static int panel_simple_get_fixed_modes(struct panel_simple *panel)
if (panel->desc->num_modes == 1)
mode->type |= DRM_MODE_TYPE_PREFERRED;
- drm_mode_set_name(mode);
-
drm_mode_probed_add(connector, mode);
num++;
}