From patchwork Thu Aug 22 05:45:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2848085 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EFFC8BF546 for ; Thu, 22 Aug 2013 07:24:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 29C71204B9 for ; Thu, 22 Aug 2013 07:24:19 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 43707204D9 for ; Thu, 22 Aug 2013 07:24:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 25CE7E79C9 for ; Thu, 22 Aug 2013 00:24:18 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by gabe.freedesktop.org (Postfix) with ESMTP id 05DD8E7345 for ; Wed, 21 Aug 2013 23:02:49 -0700 (PDT) Received: by mail-pd0-f181.google.com with SMTP id g10so1447578pdj.12 for ; Wed, 21 Aug 2013 23:02:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=OmSJj5azoXzPG24BRV/o53/sxlqOq5aYXGx+Y1LP5FU=; b=cYdrBVK5tPLB37TqcEQ6zV1n3WVnd9jo/qW2IFa7dpC16nfrMslz5ubayxaS8Exvtb ZeVIh3wQiVCIdP+/2KdxOw6tWQfYvyQ0eypT5DXfHhEgqEDPrFlnvcSL3K1IPiDvN+4d ea5iYRet3y2Eym2Fol1VMOqZ6vrjSEXmvAoYZea/QW/DHxsBq7dhZYfVZdqFzFwzkTDC PRQ70M+LrGr/1WR1quICLifVs62ZrJKK5Gt7mTfUMt5WRwUCKNqD7OeiGZf/d1YYnsmM c2RLzg3mkWzvCdSh9HyC9GyEybPcmN5KWuHJB6mtJ8p9t6t0qhgf7zDR1JJM2tuB2KQk TLBw== X-Gm-Message-State: ALoCoQk89gz3UvI3Mfqr49aTgs9qrYmR9xD7GKbW7al8VwS9rM+wifTC2k+3Ut3rEfZ7euSVpzF2 X-Received: by 10.68.19.162 with SMTP id g2mr3582698pbe.140.1377151368781; Wed, 21 Aug 2013 23:02:48 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id oj6sm14409805pab.9.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 Aug 2013 23:02:48 -0700 (PDT) From: Sachin Kamat To: dri-devel@lists.freedesktop.org Subject: [PATCH 2/6] drm/exynos: Remove non-DT support in exynos_ddc Date: Thu, 22 Aug 2013 11:15:19 +0530 Message-Id: <1377150323-12546-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1377150323-12546-1-git-send-email-sachin.kamat@linaro.org> References: <1377150323-12546-1-git-send-email-sachin.kamat@linaro.org> X-Mailman-Approved-At: Thu, 22 Aug 2013 00:22:11 -0700 Cc: sachin.kamat@linaro.org, sw0312.kim@samsung.com, patches@linaro.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since commit 383ffda2fa ("ARM: EXYNOS: no more support non-DT for EXYNOS SoCs"), Exynos platform is DT only. Hence remove all the conditional macros and make the driver DT only. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_ddc.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_ddc.c b/drivers/gpu/drm/exynos/exynos_ddc.c index d1e539b..6a8c84e 100644 --- a/drivers/gpu/drm/exynos/exynos_ddc.c +++ b/drivers/gpu/drm/exynos/exynos_ddc.c @@ -41,13 +41,6 @@ static int s5p_ddc_remove(struct i2c_client *client) return 0; } -static struct i2c_device_id ddc_idtable[] = { - {"s5p_ddc", 0}, - {"exynos5-hdmiddc", 0}, - { }, -}; - -#ifdef CONFIG_OF static struct of_device_id hdmiddc_match_types[] = { { .compatible = "samsung,exynos5-hdmiddc", @@ -57,15 +50,13 @@ static struct of_device_id hdmiddc_match_types[] = { /* end node */ } }; -#endif struct i2c_driver ddc_driver = { .driver = { .name = "exynos-hdmiddc", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(hdmiddc_match_types), + .of_match_table = hdmiddc_match_types, }, - .id_table = ddc_idtable, .probe = s5p_ddc_probe, .remove = s5p_ddc_remove, .command = NULL,