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: 19394 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 642D4248E6 for ; Thu, 22 Aug 2013 06:02:51 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id n7sf455963qcx.6 for ; Wed, 21 Aug 2013 23:02:51 -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=iTVgZA8PV2I5Th2E3x72gXrPJj9nGcf1ari47TsREnD5TCKC/ELZURt22CYqy3NrUC i4C98HJxzs/rdnXDD5qcfrd4mQof85JQq8jFvq8JWASaA3SHkd1nCOn8avJQ6shh5l/6 jjXtia0aS/0woQHGJt7qOx0pC2SSWjLiO3G+350GCf/HtA2SA6KEbx1ey6bWf0YMmVFs IKduLCesZ5mjP3oiEeDmJMryjsIe080pzE2uPqS8vE8cA8AibvaJB7tjr1Pqv+V3SxC0 XcJdvD09z6S/y+1iSBIbjxyTzpWUxSPpC1D3xyjEU5u6Mb5fG5YB22gtGy040SQsg7Kt YLAQ== X-Received: by 10.224.223.198 with SMTP id il6mr11899196qab.7.1377151371231; Wed, 21 Aug 2013 23:02:51 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.64.201 with SMTP id q9ls969376qes.41.gmail; Wed, 21 Aug 2013 23:02:51 -0700 (PDT) X-Received: by 10.220.186.202 with SMTP id ct10mr10061647vcb.14.1377151371114; Wed, 21 Aug 2013 23:02:51 -0700 (PDT) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx.google.com with ESMTPS id gb9si3408162vdc.132.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 Aug 2013 23:02:51 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.54 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.54; Received: by mail-vb0-f54.google.com with SMTP id q14so947755vbe.27 for ; Wed, 21 Aug 2013 23:02:51 -0700 (PDT) X-Gm-Message-State: ALoCoQnzg5S+T+Rf6BbSctFdHQvUml8yqx1s2YP1smh+6SreG0kNCzA7deQ8LilSOKT6Tpel8eGx X-Received: by 10.52.96.100 with SMTP id dr4mr8149052vdb.17.1377151371015; Wed, 21 Aug 2013 23:02:51 -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 u4csp10634vcz; Wed, 21 Aug 2013 23:02:50 -0700 (PDT) X-Received: by 10.68.219.33 with SMTP id pl1mr3545719pbc.147.1377151369420; Wed, 21 Aug 2013 23:02:49 -0700 (PDT) Received: from mail-pb0-f41.google.com (mail-pb0-f41.google.com [209.85.160.41]) by mx.google.com with ESMTPS id if5si5676234pad.60.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 Aug 2013 23:02:49 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.41 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.41; Received: by mail-pb0-f41.google.com with SMTP id rp2so1357611pbb.0 for ; Wed, 21 Aug 2013 23:02:48 -0700 (PDT) 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 Cc: inki.dae@samsung.com, jy0922.shim@samsung.com, sw0312.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.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-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.212.54 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,