summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorHyungwon Hwang <human.hwang@samsung.com>2015-01-09 10:24:41 +0900
committerInki Dae <daeinki@gmail.com>2015-01-12 02:03:38 +0900
commitd40f74f7273b484ca4382e5ae08b59dee85e01e4 (patch)
tree78366df497e5e159803546b8a9b889c3bcaacb07 /drivers/gpu/drm
parent79305ec6e60d320832505e95c1a028d309fcd2b6 (diff)
downloadop-kernel-dev-d40f74f7273b484ca4382e5ae08b59dee85e01e4.zip
op-kernel-dev-d40f74f7273b484ca4382e5ae08b59dee85e01e4.tar.gz
drm/exynos: remove the redundant machine checking code
This code is unnecessary, because same logic is already included. Refer this mail thread[1] for detail. [1] http://lists.freedesktop.org/archives/dri-devel/2015-January/075132.html Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_drv.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c
index 121470a..1bcbe07 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c
@@ -645,18 +645,6 @@ static int exynos_drm_init(void)
if (!is_exynos)
return -ENODEV;
- /*
- * Register device object only in case of Exynos SoC.
- *
- * Below codes resolves temporarily infinite loop issue incurred
- * by Exynos drm driver when using multi-platform kernel.
- * So these codes will be replaced with more generic way later.
- */
- if (!of_machine_is_compatible("samsung,exynos3") &&
- !of_machine_is_compatible("samsung,exynos4") &&
- !of_machine_is_compatible("samsung,exynos5"))
- return -ENODEV;
-
exynos_drm_pdev = platform_device_register_simple("exynos-drm", -1,
NULL, 0);
if (IS_ERR(exynos_drm_pdev))
OpenPOWER on IntegriCloud