From patchwork Tue Feb 24 04:56:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 5869891 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id AA9439F36A for ; Tue, 24 Feb 2015 04:59:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D5B9E20645 for ; Tue, 24 Feb 2015 04:59:54 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E2FA720644 for ; Tue, 24 Feb 2015 04:59:53 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQ7ZG-0005ge-Di; Tue, 24 Feb 2015 04:57:58 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQ7Ym-0005Up-7Q for linux-arm-kernel@lists.infradead.org; Tue, 24 Feb 2015 04:57:28 +0000 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NK9000HVF32C480@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 24 Feb 2015 13:57:02 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.113]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 40.8C.19034.D940CE45; Tue, 24 Feb 2015 13:57:02 +0900 (KST) X-AuditID: cbfee691-f79b86d000004a5a-da-54ec049d9f46 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 7D.6F.09430.D940CE45; Tue, 24 Feb 2015 13:57:01 +0900 (KST) Received: from chan.10.32.193.11 ([10.252.81.195]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NK900FYLF31P180@mmp2.samsung.com>; Tue, 24 Feb 2015 13:57:01 +0900 (KST) From: Chanwoo Choi To: rui.zhang@intel.com, edubezval@gmail.com Subject: [PATCH 2/2] thermal: exynos: Clean-up code to use oneline entry for exynos compatible table Date: Tue, 24 Feb 2015 13:56:55 +0900 Message-id: <1424753815-15113-3-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 In-reply-to: <1424753815-15113-1-git-send-email-cw00.choi@samsung.com> References: <1424753815-15113-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpikeLIzCtJLcpLzFFi42JZI2JSqDuP5U2Iwer7jBaP1yxmsmi4GmKx ccZ6VovrX56zWsy/co3VYtL9CSwW/Y9fM1ucbXrDbvHm4WZGi02PgRKXd81hs/jce4TRYsb5 fUwWTx72sTnweeycdZfdY/Gel0wem1Z1snlsXlLv0bdlFaPH501yAWxRXDYpqTmZZalF+nYJ XBkfj1xjL+jnqzi64ihjA+Nz7i5GTg4JAROJ+fu2M0PYYhIX7q1n62Lk4hASWMoosfjobBaY ohkdU1ghEtMZJV68vcAM4TQxScw83ckOUsUmoCWx/8UNNhBbREBH4vCTp2BFzALXmCSOfjjF BJIQFkiT2PHmICOIzSKgKvH4yklWEJtXwFVicv9UqHUKEsuWzwSLcwq4SfTfugI2VAioZtPR C0wQNZfYJZ58UYaYIyDxbfIhoF4OoLisxKYDUO9IShxccYNlAqPwAkaGVYyiqQXJBcVJ6UWm esWJucWleel6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Zc kql/9Pmr0Cte8S6nzod9lInY/qf+xe6QVSl8q77NKIz9XltmW7fo7AVDgdADJ99/k1Kv3n5n hnTKuY1qFw4zyMbI/qr8L+hVLZ/HrD551ekVh75OudVsaLZ4u5VWhNyunwk7+dP1uzmrkxun V2mEeR6VzNDe3/nlykWLPf/mVVcpsRRnJBpqMRcVJwIAZ3Br/uACAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150223_205728_494100_AE4FC282 X-CRM114-Status: UNSURE ( 8.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: l.majewski@samsung.com, linux-samsung-soc@vger.kernel.org, b.zolnierkie@samsung.com, linux-pm@vger.kernel.org, kyungmin.park@samsung.com, linux-kernel@vger.kernel.org, inki.dae@samsung.com, Chanwoo Choi , amit.daniel@samsung.com, kgene@kernel.org, a.kesavan@samsung.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch cleanup the code to use oneline for entry of exynos compatible table. Cc: Zhang Rui Cc: Eduardo Valentin Signed-off-by: Chanwoo Choi Acked-by: Lukasz Majewski --- drivers/thermal/samsung/exynos_tmu.c | 38 ++++++++++-------------------------- 1 file changed, 10 insertions(+), 28 deletions(-) diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index a60f527..1d30b09 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c @@ -919,34 +919,16 @@ static irqreturn_t exynos_tmu_irq(int irq, void *id) } static const struct of_device_id exynos_tmu_match[] = { - { - .compatible = "samsung,exynos3250-tmu", - }, - { - .compatible = "samsung,exynos4210-tmu", - }, - { - .compatible = "samsung,exynos4412-tmu", - }, - { - .compatible = "samsung,exynos5250-tmu", - }, - { - .compatible = "samsung,exynos5260-tmu", - }, - { - .compatible = "samsung,exynos5420-tmu", - }, - { - .compatible = "samsung,exynos5420-tmu-ext-triminfo", - }, - { - .compatible = "samsung,exynos5440-tmu", - }, - { - .compatible = "samsung,exynos7-tmu", - }, - {}, + { .compatible = "samsung,exynos3250-tmu", }, + { .compatible = "samsung,exynos4210-tmu", }, + { .compatible = "samsung,exynos4412-tmu", }, + { .compatible = "samsung,exynos5250-tmu", }, + { .compatible = "samsung,exynos5260-tmu", }, + { .compatible = "samsung,exynos5420-tmu", }, + { .compatible = "samsung,exynos5420-tmu-ext-triminfo", }, + { .compatible = "samsung,exynos5440-tmu", }, + { .compatible = "samsung,exynos7-tmu", }, + { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, exynos_tmu_match);