summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panel/panel-samsung-s6d16d0.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2019-03-26 19:34:00 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2019-03-27 13:55:13 +0200
commit35f51863e30db67f967a21447e897cbab111d39c (patch)
tree5f47e4914d86fb73aabba4c141304776d55ac6e6 /drivers/gpu/drm/panel/panel-samsung-s6d16d0.c
parenta9ab81d9f52afb8a6aec9399205753cb57ca3730 (diff)
downloadlinux-35f51863e30db67f967a21447e897cbab111d39c.tar.bz2
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-samsung-s6d16d0.c')
-rw-r--r--drivers/gpu/drm/panel/panel-samsung-s6d16d0.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/panel/panel-samsung-s6d16d0.c b/drivers/gpu/drm/panel/panel-samsung-s6d16d0.c
index 33c22ee036f8..f75bef24e050 100644
--- a/drivers/gpu/drm/panel/panel-samsung-s6d16d0.c
+++ b/drivers/gpu/drm/panel/panel-samsung-s6d16d0.c
@@ -148,9 +148,6 @@ static int s6d16d0_get_modes(struct drm_panel *panel)
struct drm_connector *connector = panel->connector;
struct drm_display_mode *mode;
- strncpy(connector->display_info.name, "Samsung S6D16D0\0",
- DRM_DISPLAY_INFO_LEN);
-
mode = drm_mode_duplicate(panel->drm, &samsung_s6d16d0_mode);
if (!mode) {
DRM_ERROR("bad mode or failed to add mode\n");