drm: omapdrm: Refactor CRTC creation code
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 11 Jan 2015 14:30:44 +0000 (16:30 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 20 Mar 2015 12:30:16 +0000 (14:30 +0200)
commitfb9a35f89fac2ca97597ce212439d2997f2caf7e
treee717f6973dc9f7e8769135827d6a7d71d16a05e9
parent222025e42d7f77133b8c3a2355d20a6004096c4b
drm: omapdrm: Refactor CRTC creation code

Create a omap_modeset_create_crtc() function to avoid duplicating plane
and CRTC creation code.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/omap_drv.c
drivers/gpu/drm/omapdrm/omap_plane.c