From patchwork Fri Dec 4 08:29:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7765971 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0F81FBEEE1 for ; Fri, 4 Dec 2015 08:32:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 47587204A2 for ; Fri, 4 Dec 2015 08:32:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 67A36204A0 for ; Fri, 4 Dec 2015 08:32:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755438AbbLDIbt (ORCPT ); Fri, 4 Dec 2015 03:31:49 -0500 Received: from relmlor4.renesas.com ([210.160.252.174]:25772 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755275AbbLDIbr (ORCPT ); Fri, 4 Dec 2015 03:31:47 -0500 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie3.idc.renesas.com with ESMTP; 04 Dec 2015 17:31:46 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 70DC94C06A; Fri, 4 Dec 2015 17:31:46 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id 4C8A418071; Fri, 4 Dec 2015 17:31:45 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id E668318070; Fri, 4 Dec 2015 17:31:45 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id TAL10380; Fri, 4 Dec 2015 17:31:45 +0900 X-IronPort-AV: E=Sophos;i="5.20,380,1444662000"; d="scan'";a="199892061" Received: from mail-sg2apc01lp0247.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.247]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 04 Dec 2015 17:31:45 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by SG2PR06MB1018.apcprd06.prod.outlook.com (10.161.9.26) with Microsoft SMTP Server (TLS) id 15.1.337.19; Fri, 4 Dec 2015 08:31:43 +0000 Date: Fri, 4 Dec 2015 17:29:04 +0900 Message-ID: <87fuzifwhb.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 1/8 v2] thermal: rcar: move rcar_thermal_dt_ids to upside User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Simon , Zhang Rui , Eduardo Valentin CC: Magnus , , , In-Reply-To: <87h9jyfwj7.wl%kuninori.morimoto.gx@renesas.com> References: <87h9jyfwj7.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR01CA0021.jpnprd01.prod.outlook.com (25.161.74.159) To SG2PR06MB1018.apcprd06.prod.outlook.com (25.161.9.26) X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB1018; 2:RlhEPz2udllXfMr8WtPITe62w9d0zOi8VcQ2NQ1l2Qnr2AMYTBwSSOshQdiaWsNPX1Vcyo1Zena6D1zCeGVpiJXzM/lP5SYRuy++00k8nFTtlL4tvex/xgoPZXTmTnmK73CzYDcg9AN0mt75+yV0UQ==; 3:O8CFxaKUccFb+Tbflh+18DYG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YVseDLRQkk9TnJO1WGGSaX9YRjIKZI1zCE15Pp6DYU/Pd/6/4FcEhpQ7Lww7HfDcX+EUrhgrsKW2/A0yz8yM6bCX5Ka2foV62qWP2SZJwSRtV/ZUeBCGvcrx5rDgO5x28jnUQTjdu5L2cLl86uH2ceK/K9ToBcppyKppgJE5z4JoJmCaRyWETf+VVsfz66zezc2GtB7zwi4NMH9Lko+z+Ob8OhufGrvdumQeQnUg+IKGTqxCiZlurSB/QNOsdSqVR7un4GfSCu3e3xCbzOkiPaOA4e/x2lU9L2SNd91H2dzwNqE9OX 4PfRs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(85106069007906); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(10201501046)(3002001); SRVR:SG2PR06MB1018; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB1018; X-Forefront-PRVS: 07807C55DC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(586003)(47776003)(87976001)(1096002)(5001770100001)(6116002)(5001960100002)(5004730100002)(97736004)(3846002)(189998001)(5008740100001)(33646002)(4001350100001)(81156007)(229853001)(23726003)(92566002)(36756003)(83506001)(19580405001)(77096005)(2950100001)(40100003)(76176999)(19580395003)(54356999)(42186005)(105586002)(46406003)(106356001)(53416004)(50986999)(66066001)(101416001)(122386002)(86362001)(69596002)(50466002); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB1018; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB1018; 23:IqNHs4ys+C5VhDzYs+cyDGG+CuJKqeu253bideqQ8?= =?us-ascii?Q?pki0ELDaEPWTc/F2RduzS5fOhgg2pk/3Ge0yzJR2EUJZkAGUd/w0LM2kC22l?= =?us-ascii?Q?aQY/cNeunGamQ/2Ri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-ascii?Q?LVE3g+s5f1drSzoA8IqM8czNWUMEXzLCDeUhV3B2Tcri44QAZKt8BADekQgg?= =?us-ascii?Q?NT3n7aKGEz7X+0UeCt3KwcZviSU9VIGUb1y71sX+2w5pAYr0hzpwgXfVGI8L?= =?us-ascii?Q?TOH4t435Xk=3D?= X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB1018; 5:fmAitcegv1d6rwFa4sk4OFeBHfV6+W/Nx9Kf/VA4GK1ZbKAqAO4IYpa98wOyxyjjk+E1Q8nOiVUebC4aHDyMlMDnDGUwshu3kTmtDtINcHID75BJk0kGEFz4ugWtxNpBwLp0CPI+Hz9VJfD63/ddkw==; 24:HW0bS0SUnJ0DJsklyAgiHbDADThihACJ9kmBdttBxCOHKsU7+JuqZzlwOgx+4HgIAvbsgGHZM0LcFxLrrWBTPyuxsfUwxYL/Ss2fznhC4x0=; 20:b1OaxsYWpsc5lannCApx+WaDRReD6jn8iXkFEZXG8IN1+HEDTcd0F7B1neOd2dwtjkEMsK3nWQrJXY4i9dE6uurT8TTAT+k8sV4i+UgZm1UyO338DpY4XLeWZHeQf1vfcCkm/1IDuGW8AoXUzgPD4Zij1IhMdaaW0znO9e5K1gk= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2015 08:31:43.0211 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB1018 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 From: Kuninori Morimoto This patch is prepare for of-thermal support. Signed-off-by: Kuninori Morimoto --- v1 -> v2 - no change drivers/thermal/rcar_thermal.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c index 13d01ed..96707a6 100644 --- a/drivers/thermal/rcar_thermal.c +++ b/drivers/thermal/rcar_thermal.c @@ -81,6 +81,12 @@ struct rcar_thermal_priv { # define rcar_force_update_temp(priv) 0 #endif +static const struct of_device_id rcar_thermal_dt_ids[] = { + { .compatible = "renesas,rcar-thermal", }, + {}, +}; +MODULE_DEVICE_TABLE(of, rcar_thermal_dt_ids); + /* * basic functions */ @@ -484,12 +490,6 @@ error_unregister: return ret; } -static const struct of_device_id rcar_thermal_dt_ids[] = { - { .compatible = "renesas,rcar-thermal", }, - {}, -}; -MODULE_DEVICE_TABLE(of, rcar_thermal_dt_ids); - static struct platform_driver rcar_thermal_driver = { .driver = { .name = "rcar_thermal",