drm/sun4i: Eliminate pointless on stack copy of drm_display_info
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 26 Mar 2019 17:38:10 +0000 (19:38 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 24 Jun 2019 15:34:21 +0000 (18:34 +0300)
commit1e612a0f62febce70da35891f1b9a3cc270d4af1
treefadbdcb8ef149d6c83c514b217b198bdcee172c7
parent9f396ab4de152408c7007fce255a7144ae7d70a0
drm/sun4i: Eliminate pointless on stack copy of drm_display_info

Just use a pointer to the display_info rather than make a copy
on stack.

Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190326173810.11979-1-ville.syrjala@linux.intel.com
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/sun4i/sun4i_tcon.c