drm/exynos/decon7: embed exynos_drm_crtc directly into context
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 31 Dec 2018 12:37:05 +0000 (13:37 +0100)
committerAndrzej Hajda <a.hajda@samsung.com>
Wed, 20 Mar 2019 11:48:11 +0000 (12:48 +0100)
commitf918b18034a23b8b507491888f78c61c7ed86ee1
tree1ef4f99342a9fc0dacac84ac1e482dd3bff9b330
parent714ab4cd4d0e4cf17e49a73b2508697760cc98eb
drm/exynos/decon7: 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/exynos7_drm_decon.c