From patchwork Wed Aug 28 05:17:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 19552 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f69.google.com (mail-vb0-f69.google.com [209.85.212.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4FBE1248E8 for ; Wed, 28 Aug 2013 05:35:39 +0000 (UTC) Received: by mail-vb0-f69.google.com with SMTP id e13sf6219575vbg.0 for ; Tue, 27 Aug 2013 22:35:39 -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=OmSJj5azoXzPG24BRV/o53/sxlqOq5aYXGx+Y1LP5FU=; b=EOtcQqLsbEgGS3KVOEiAe0KLCTBPjsjdUnYX7VsX/BgiQdnzT2xiHFo3Uyd0Te/LOq zvDKFG+hD5DXaUdCaVTr6ACbTfdOWnH6ogXQdYTIRvRHhZ1820JzaJ66XF+9l31FIOP1 XfJuGuIckBiSRR6ZbF3k4MZ4/a/ZmexTwEnniI7OjjrPBtEb8LOOV0DlEulEy9yTsrlh UkcAFNXPdBF3pxlvl2mgaepFtqOlJYSlglxZuc63z8LifAFueacvvsQn+Lukeaa7+CUy 570u2z/b9xSKC4qF0VW1s3odajK0MH37S+XJT2tsJvc2VF1V0tNHZRiwa+y4Aj2j0H81 yegQ== X-Received: by 10.236.161.137 with SMTP id w9mr4755061yhk.49.1377668139144; Tue, 27 Aug 2013 22:35:39 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.0.41 with SMTP id 9ls193195qeb.15.gmail; Tue, 27 Aug 2013 22:35:39 -0700 (PDT) X-Received: by 10.58.218.225 with SMTP id pj1mr370836vec.24.1377668139050; Tue, 27 Aug 2013 22:35:39 -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 sj9si1269635vdc.28.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Aug 2013 22:35:39 -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 15so3884942vea.15 for ; Tue, 27 Aug 2013 22:35:39 -0700 (PDT) X-Gm-Message-State: ALoCoQloX50n9g+lQBOB2IxK86yUt3dEKmFs6E4C0YR6CgP51BcgpbqnAHjTDpV6YOSvS8/5BQZM X-Received: by 10.221.40.10 with SMTP id to10mr5579798vcb.22.1377668138976; Tue, 27 Aug 2013 22:35:38 -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 u4csp336217vcz; Tue, 27 Aug 2013 22:35:38 -0700 (PDT) X-Received: by 10.66.253.4 with SMTP id zw4mr24772166pac.119.1377668138011; Tue, 27 Aug 2013 22:35:38 -0700 (PDT) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx.google.com with ESMTPS id bv1si18546781pbb.204.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Aug 2013 22:35:37 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.54 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.54; Received: by mail-pa0-f54.google.com with SMTP id kx10so5807820pab.27 for ; Tue, 27 Aug 2013 22:35:37 -0700 (PDT) X-Received: by 10.68.160.5 with SMTP id xg5mr12942627pbb.173.1377668137446; Tue, 27 Aug 2013 22:35:37 -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:36 -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 2/6] drm/exynos: Remove non-DT support in exynos_ddc Date: Wed, 28 Aug 2013 10:47:54 +0530 Message-Id: <1377667078-14163-2-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_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,