From patchwork Thu Aug 22 05:45:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2848086 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 85F55BF546 for ; Thu, 22 Aug 2013 07:25:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A4029201E0 for ; Thu, 22 Aug 2013 07:25:28 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 8CC0E201DE for ; Thu, 22 Aug 2013 07:25:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7CA4CE7967 for ; Thu, 22 Aug 2013 00:25:27 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 3428EE65B9 for ; Wed, 21 Aug 2013 23:02:52 -0700 (PDT) Received: by mail-pa0-f49.google.com with SMTP id ld10so1728951pab.22 for ; Wed, 21 Aug 2013 23:02:52 -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=7KwCd8RLCtzcUcSv2gcxNpdUbuEe2vIKSzmdT8CjTAs=; b=a784tBFls8NaRNB9shz0eM6FKZOPYDu1f3icA5qF1Imurq4Svtu65NxOaVf6NN5+Cj AvWv+xD87+n2n7mwx2eQlNnkYn22qAIgQbbpewlmg8T0D8k4+a5Rp83YBOOUPwslmlPk hTrF8NcbVTtvMU8A9sTe1ZxpnOPUroQ9IlrTxoFpJR0uKIwsrqXy1MIhx/MpcPpe/ccf v61/JRYw/apzWypWo8EoORr5Tc43Ug6zNdYXqrOc0pU+9DfXeHrp8yyCEyQ5JTBqge5E 3zEBJuhprWuAWqEVs0RB7FCTUb2Et0QSfoN62Dyb6VN4TAW3/uAo3cgu7P2hwq5aUCyg DqwA== X-Gm-Message-State: ALoCoQnb8sMCmkQlg488pJvleZ0eV0Fcuz4AW/IvZHZUul01Koux8z3IDy/wc1E1te0uMreYInBd X-Received: by 10.66.254.194 with SMTP id ak2mr3610907pad.167.1377151371961; Wed, 21 Aug 2013 23:02:51 -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:51 -0700 (PDT) From: Sachin Kamat To: dri-devel@lists.freedesktop.org Subject: [PATCH 3/6] drm/exynos: Remove non-DT support in exynos_hdmiphy Date: Thu, 22 Aug 2013 11:15:20 +0530 Message-Id: <1377150323-12546-3-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:13 -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_hdmiphy.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmiphy.c b/drivers/gpu/drm/exynos/exynos_hdmiphy.c index 6021996..59abb14 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmiphy.c +++ b/drivers/gpu/drm/exynos/exynos_hdmiphy.c @@ -40,13 +40,6 @@ static int hdmiphy_remove(struct i2c_client *client) return 0; } -static const struct i2c_device_id hdmiphy_id[] = { - { "s5p_hdmiphy", 0 }, - { "exynos5-hdmiphy", 0 }, - { }, -}; - -#ifdef CONFIG_OF static struct of_device_id hdmiphy_match_types[] = { { .compatible = "samsung,exynos5-hdmiphy", @@ -58,15 +51,13 @@ static struct of_device_id hdmiphy_match_types[] = { /* end node */ } }; -#endif struct i2c_driver hdmiphy_driver = { .driver = { .name = "exynos-hdmiphy", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(hdmiphy_match_types), + .of_match_table = hdmiphy_match_types, }, - .id_table = hdmiphy_id, .probe = hdmiphy_probe, .remove = hdmiphy_remove, .command = NULL,