]> 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)
commit6dfeddb9155a9d8bcb115cd629b36b88de90ec82
tree2d612c2cb920c832fab7d6ffa5f06c94f3d6b4af
parentf40ab2562cedb4faa9124c5186ae87de8c618f4a
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