drm/exynos/fimd: embed exynos_drm_crtc directly into context
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 31 Dec 2018 12:38:21 +0000 (13:38 +0100)
committerAndrzej Hajda <a.hajda@samsung.com>
Wed, 20 Mar 2019 11:48:11 +0000 (12:48 +0100)
commit3cff3653f34d5c520356a20c038b034e7684f03c
tree8fbfa1fc2ca5ea71f7cd4c8e36a82d34ccfc0110
parentf918b18034a23b8b507491888f78c61c7ed86ee1
drm/exynos/fimd: embed exynos_drm_crtc directly into context

Since crtc maps 1:1 to the device there is no point in allocating it
separately, another benefit is possibility of direct initialisation
of its fields which is more readable and allows further expansion.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimd.c