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: 19395 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 04C23248E6 for ; Thu, 22 Aug 2013 06:02:54 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id oz10sf1284953veb.11 for ; Wed, 21 Aug 2013 23:02:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=7KwCd8RLCtzcUcSv2gcxNpdUbuEe2vIKSzmdT8CjTAs=; b=bP6n646EXVNZZP2aW3d4zkZoXAfG8V7VVzXhZEuc2EBHibEW5fI9UkO0f3HbKzTfU7 Zulv3VJgkZkCW7WIDJ1a8SLMBv9VHcG2X2nKchytd2bFkxA94wb9eBOncAzRDBjcgfVE GsXnKVhvP7uBuQVjMBjQ1xMZ9lI5ZeBdR6s+8ulxi3vB8WsLRZTB2J/RRMdiCxI9JdJw ocUlL5SfVWEpsT6QV5vO+ScAdQ/y1l1YZsR8EhMPW/IE8G69/emNZv5Gfeiy/utJc/pc iQM7VmDjOOPQbH/j+93mSabq3sxjBx4ehaO8nK0Dlj2zuyX36CnYVUloJzgBGiTCjFJZ J3+g== X-Received: by 10.224.4.138 with SMTP id 10mr11965379qar.8.1377151373613; Wed, 21 Aug 2013 23:02:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.35.204 with SMTP id k12ls800375qej.25.gmail; Wed, 21 Aug 2013 23:02:53 -0700 (PDT) X-Received: by 10.220.164.70 with SMTP id d6mr9793630vcy.19.1377151373525; Wed, 21 Aug 2013 23:02:53 -0700 (PDT) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id wk9si3423203vdb.16.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 Aug 2013 23:02:53 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id ox1so1169310veb.9 for ; Wed, 21 Aug 2013 23:02:53 -0700 (PDT) X-Gm-Message-State: ALoCoQnB2PoFomdUoBU6CxAcBCRRDZE3TmKxtkob8B3cSoCfNVVGP4xFFwyT88PZMI3lM72oCIw2 X-Received: by 10.52.165.45 with SMTP id yv13mr8352478vdb.1.1377151373432; Wed, 21 Aug 2013 23:02:53 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp10636vcz; Wed, 21 Aug 2013 23:02:52 -0700 (PDT) X-Received: by 10.66.186.204 with SMTP id fm12mr704683pac.189.1377151372485; Wed, 21 Aug 2013 23:02:52 -0700 (PDT) Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) by mx.google.com with ESMTPS id vs3si8705532pab.259.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 Aug 2013 23:02:52 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.42 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.42; Received: by mail-pa0-f42.google.com with SMTP id lj1so1738754pab.29 for ; Wed, 21 Aug 2013 23:02:52 -0700 (PDT) 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 Cc: inki.dae@samsung.com, jy0922.shim@samsung.com, sw0312.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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,