drm: omapdrm: hdmi: Don't allocate PHY features dynamically
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 11 Aug 2017 13:49:07 +0000 (16:49 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 16 Aug 2017 09:52:42 +0000 (12:52 +0300)
commit863f9cde269f533f363ab2d0e241f503e1c87552
tree2d612c2cb920c832fab7d6ffa5f06c94f3d6b4af
parent37ea27b97b6a5ef073e71169dbc95d89f4daa288
drm: omapdrm: hdmi: Don't allocate PHY features dynamically

There's no need to allocate memory dynamically to duplicate the contents
of a const structure, only to store the memory pointer in a const
pointer field. Just use the original structures directly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/hdmi_phy.c