From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Subject: Re: [PATCH 3/3] thermal: exynos: Clean-up code to use oneline entry for exynos compatible table Date: Mon, 16 Feb 2015 16:07:54 +0100 Message-ID: <20150216160754.18ee3ebb@amdc2363> References: <1424096414-4327-1-git-send-email-cw00.choi@samsung.com> <1424096414-4327-4-git-send-email-cw00.choi@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mailout4.samsung.com ([203.254.224.34]:34885 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753356AbbBPPIE (ORCPT ); Mon, 16 Feb 2015 10:08:04 -0500 In-reply-to: <1424096414-4327-4-git-send-email-cw00.choi@samsung.com> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Chanwoo Choi Cc: rui.zhang@intel.com, edubezval@gmail.com, kgene@kernel.org, b.zolnierkie@samsung.com, kyungmin.park@samsung.com, amit.daniel@samsung.com, a.kesavan@samsung.com, inki.dae@samsung.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Hi Chanwoo, > 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 > --- > 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 b199fff..7e6baf5 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); > Acked-by: Lukasz Majewski Thanks for clean up! -- Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group