From patchwork Wed Aug 28 05:17:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 19553 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f198.google.com (mail-ve0-f198.google.com [209.85.128.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1327B248E8 for ; Wed, 28 Aug 2013 05:35:44 +0000 (UTC) Received: by mail-ve0-f198.google.com with SMTP id 15sf6405316vea.9 for ; Tue, 27 Aug 2013 22:35:43 -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=VE7cFhxgyIuDnlxTaLivleIL+9vwPyS0krwz75NC4SoRLEHOB7e/WKrSZhZxkuYVMY i+ubnIBp3JwhsP6mOTEeeiJlVS3a+VoMWVP1veTScNKMjhR4TaxLh3JAIITAnzgGYAFW ttqQDx5oIEHIZmJJ5rkEfoONGneM4tOOLToBjdYfXYrg67CdhXR/yX7U0pcH+OHkd/Nt /aFloXJvT9US3ESk1UCCOxr5mpueWg4qPDFg3cXai+7hDbtu6iTwrfdiJxYl3KEBWEuI EQAkimte3mw4CTzAE9uBvqDBjFu0nc9ZWoVQJXfgK3RNpPiuwKp+0wRNdlD1HeekVZaA gKQA== X-Received: by 10.236.24.195 with SMTP id x43mr9297139yhx.3.1377668143775; Tue, 27 Aug 2013 22:35:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.18.199 with SMTP id y7ls176551qed.78.gmail; Tue, 27 Aug 2013 22:35:43 -0700 (PDT) X-Received: by 10.52.164.102 with SMTP id yp6mr20799591vdb.14.1377668143657; Tue, 27 Aug 2013 22:35:43 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id f8si6000741vec.123.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Aug 2013 22:35:43 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.170 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.170; Received: by mail-ve0-f170.google.com with SMTP id 15so4030671vea.1 for ; Tue, 27 Aug 2013 22:35:43 -0700 (PDT) X-Gm-Message-State: ALoCoQnG6KJ9qndmL5F8V+kjuggQV96ANHVCadQ5jR2qggOPAeF11rzMg31v6IB83TYM1cInsSdc X-Received: by 10.52.171.38 with SMTP id ar6mr12864758vdc.22.1377668143408; Tue, 27 Aug 2013 22:35:43 -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 u4csp336221vcz; Tue, 27 Aug 2013 22:35:42 -0700 (PDT) X-Received: by 10.66.218.9 with SMTP id pc9mr13027974pac.162.1377668142286; Tue, 27 Aug 2013 22:35:42 -0700 (PDT) Received: from mail-pb0-f42.google.com (mail-pb0-f42.google.com [209.85.160.42]) by mx.google.com with ESMTPS id vs3si19078780pab.317.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Aug 2013 22:35:42 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.42 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.42; Received: by mail-pb0-f42.google.com with SMTP id un15so5823305pbc.29 for ; Tue, 27 Aug 2013 22:35:41 -0700 (PDT) X-Received: by 10.66.161.138 with SMTP id xs10mr24964467pab.56.1377668141801; Tue, 27 Aug 2013 22:35:41 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id pu5sm31244266pac.21.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Aug 2013 22:35:41 -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 Resend 3/6] drm/exynos: Remove non-DT support in exynos_hdmiphy Date: Wed, 28 Aug 2013 10:47:55 +0530 Message-Id: <1377667078-14163-3-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1377667078-14163-1-git-send-email-sachin.kamat@linaro.org> References: <1377667078-14163-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.170 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,