]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf72548d2bdd897437e3ec4ed1fc80079f428232f
tree2d612c2cb920c832fab7d6ffa5f06c94f3d6b4af
parent5e1402d2df34c4534173d19a549c7f1fbbcf0dbc
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