summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2019-03-26 20:34:00 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2019-03-27 14:55:13 +0300
commit35f51863e30db67f967a21447e897cbab111d39c (patch)
tree5f47e4914d86fb73aabba4c141304776d55ac6e6 /drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
parenta9ab81d9f52afb8a6aec9399205753cb57ca3730 (diff)
downloadlinux-35f51863e30db67f967a21447e897cbab111d39c.tar.xz
drm: Kill drm_display_info.name
drm_display_info.name is only ever set by a few panel drivers but never actually used anywhere except in i915 debugfs code. Trash it. v2: Fix typo in commit msg (Sam Ravnborg) Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190326173401.7329-3-ville.syrjala@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c')
-rw-r--r--drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c b/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
index 5e8d4523e9ed..a1d8d92fac2b 100644
--- a/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
+++ b/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
@@ -190,7 +190,6 @@ static int lcd_olinuxino_get_modes(struct drm_panel *panel)
num++;
}
- memcpy(connector->display_info.name, lcd_info->name, 32);
connector->display_info.width_mm = lcd_info->width_mm;
connector->display_info.height_mm = lcd_info->height_mm;
connector->display_info.bpc = lcd_info->bpc;