From patchwork Fri Apr 1 13:17:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 64856 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp731649lbc; Fri, 1 Apr 2016 06:18:33 -0700 (PDT) X-Received: by 10.66.140.39 with SMTP id rd7mr30871592pab.92.1459516699412; Fri, 01 Apr 2016 06:18:19 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ny6si21355037pab.59.2016.04.01.06.18.19; Fri, 01 Apr 2016 06:18:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753292AbcDANSS (ORCPT + 4 others); Fri, 1 Apr 2016 09:18:18 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:39458 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750751AbcDANSQ (ORCPT ); Fri, 1 Apr 2016 09:18:16 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O4Y006HWIACGWA0@mailout4.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Fri, 01 Apr 2016 14:18:12 +0100 (BST) X-AuditID: cbfec7f4-f796c6d000001486-af-56fe7514171a Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 6D.01.05254.4157EF65; Fri, 1 Apr 2016 14:18:12 +0100 (BST) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O4Y00HG5IA6GI20@eusync4.samsung.com>; Fri, 01 Apr 2016 14:18:12 +0100 (BST) From: Marek Szyprowski To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Inki Dae , Joonyoung Shim , Seung-Woo Kim , Andrzej Hajda , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 6/7] drm/exynos: mixer: remove support for non-dt platforms Date: Fri, 01 Apr 2016 15:17:45 +0200 Message-id: <1459516666-2004-7-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1459516666-2004-1-git-send-email-m.szyprowski@samsung.com> References: <1459516666-2004-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprELMWRmVeSWpSXmKPExsVy+t/xa7oipf/CDA59ELS4te4cq8XGGetZ La58fc9mMen+BBaLF/cusli8fmFoMeP8PiaLtUfuslvMmPySzYHT4373cSaPvi2rGD0+b5IL YI7isklJzcksSy3St0vgyug8vpy94Al3xaTLBQ2Mtzi7GDk4JARMJCbuTupi5AQyxSQu3FvP 1sXIxSEksJRRom/DXmYIp4lJ4tTWw4wgVWwChhJdb7vYQGwRATeJpsMzWUGKmAW2MEm079rI BJIQFvCW6H75jBXEZhFQlbh2dzM7iM0r4C6x83k/O8Q6OYn/L1eA1XMKeEj0/D8IFhcCqrl0 YB3rBEbeBYwMqxhFU0uTC4qT0nMN9YoTc4tL89L1kvNzNzFCQurLDsbFx6wOMQpwMCrx8N6Y 9jdMiDWxrLgy9xCjBAezkghvSt6/MCHelMTKqtSi/Pii0pzU4kOM0hwsSuK8c3e9DxESSE8s Sc1OTS1ILYLJMnFwSjUwsjVOf7auc3W4sNE7DvuO4kSx7ZMOWpy44hL9qSr5woNZfQpWJUtY g9z2rrnmmpGtIXjC73q7xMYfnkm+12fHsMdtfn/L8YurZ/20Z8UOS0TLvt3839tnM2fBxgjT njWz5/cqbdjZsLWZ67/MmnTtzVyGHdUzrCsKciWVytP/i/c9mybmwDxDiaU4I9FQi7moOBEA z6ogZCUCAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org There are no non-devicetree based Exynos platforms in mainline, so there no point keeping old platform driver data for them. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos_mixer.c | 16 ---------------- 1 file changed, 16 deletions(-) -- 1.9.2 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index 0a5a60005f7e..ffafb744154e 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c @@ -1155,18 +1155,6 @@ static struct mixer_drv_data exynos4210_mxr_drv_data = { .has_sclk = 1, }; -static const struct platform_device_id mixer_driver_types[] = { - { - .name = "s5p-mixer", - .driver_data = (unsigned long)&exynos4210_mxr_drv_data, - }, { - .name = "exynos5-mixer", - .driver_data = (unsigned long)&exynos5250_mxr_drv_data, - }, { - /* end node */ - } -}; - static struct of_device_id mixer_match_types[] = { { .compatible = "samsung,exynos4210-mixer", @@ -1258,9 +1246,6 @@ static int mixer_probe(struct platform_device *pdev) match = of_match_node(mixer_match_types, dev->of_node); drv = (struct mixer_drv_data *)match->data; - } else { - drv = (struct mixer_drv_data *) - platform_get_device_id(pdev)->driver_data; } ctx->pdev = pdev; @@ -1355,5 +1340,4 @@ struct platform_driver mixer_driver = { }, .probe = mixer_probe, .remove = mixer_remove, - .id_table = mixer_driver_types, };