drm/imx: Drop pipe field from struct imx_drm_crtc
authorThierry Reding <treding@nvidia.com>
Tue, 15 Dec 2015 11:20:52 +0000 (12:20 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 15 Dec 2015 12:36:44 +0000 (13:36 +0100)
commitd4b20e4dcbb3bb08362c55b2f9183588a4a3af33
tree4a163ce359d4b790bfa00d2c75d8b0b36a6ffa42
parentd2ab8ad9713de1bd5e0da187263e35b2eea57e1c
drm/imx: Drop pipe field from struct imx_drm_crtc

Use the drm_crtc_index() helper to determine the pipe number of the CRTC
instead.

Cc: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1450178476-26284-5-git-send-email-boris.brezillon@free-electrons.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/imx/imx-drm-core.c