From: Philipp Zabel
Date: Tue, 3 May 2016 13:47:24 +0000 (+0200)
Subject: drm/exynos/dpi: use of_graph_get_endpoint_by_regs helper
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fb38b1f60865567e74aeb540038fbaaa1144c432;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git
drm/exynos/dpi: use of_graph_get_endpoint_by_regs helper
This allows to remove the local of_graph_get_port_by_reg(),
of_graph_get_endpoint_by_reg(), of_get_child_by_name_reg(),
and of_graph_get_remote_port_parent() functions.
Signed-off-by: Philipp Zabel
Reviewed-by: Andrzej Hajda
Signed-off-by: Inki Dae
---
diff --git a/drivers/gpu/drm/exynos/exynos_drm_dpi.c b/drivers/gpu/drm/exynos/exynos_drm_dpi.c
index 75e570f45259..5e38e749ac17 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_dpi.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_dpi.c
@@ -15,6 +15,7 @@
#include
#include
+#include
#include
#include