From patchwork Tue Dec 8 05:27:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7794281 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: X-Original-To: patchwork-linux-pm@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 3D4419F387 for ; Tue, 8 Dec 2015 05:27:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 68EAD2052C for ; Tue, 8 Dec 2015 05:27:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 829DD20515 for ; Tue, 8 Dec 2015 05:27:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932745AbbLHF1R (ORCPT ); Tue, 8 Dec 2015 00:27:17 -0500 Received: from relmlor3.renesas.com ([210.160.252.173]:64795 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932111AbbLHF1P (ORCPT ); Tue, 8 Dec 2015 00:27:15 -0500 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie2.idc.renesas.com with ESMTP; 08 Dec 2015 14:27:14 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 090E640CC5; Tue, 8 Dec 2015 14:27:14 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id F16912806E; Tue, 8 Dec 2015 14:27:13 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id EBB872806D; Tue, 8 Dec 2015 14:27:13 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac2.idc.renesas.com with ESMTP id QAD14212; Tue, 8 Dec 2015 14:27:13 +0900 X-IronPort-AV: E=Sophos;i="5.20,398,1444662000"; d="scan'";a="200082709" Received: from mail-sg2apc01lp0240.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.240]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 08 Dec 2015 14:27:12 +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 HKXPR06MB1013.apcprd06.prod.outlook.com (10.161.137.28) with Microsoft SMTP Server (TLS) id 15.1.337.19; Tue, 8 Dec 2015 05:27:10 +0000 Message-ID: <87twnt5x80.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 1/8 v4] thermal: rcar: move rcar_thermal_dt_ids to upside User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") To: Simon , Zhang Rui , Eduardo Valentin CC: Geert Uytterhoeven , Magnus , , , , "devicetree@vger.kernel.org" In-Reply-To: <87vb895x9d.wl%kuninori.morimoto.gx@renesas.com> References: <87vb895x9d.wl%kuninori.morimoto.gx@renesas.com> Date: Tue, 8 Dec 2015 05:27:10 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR06CA0010.apcprd06.prod.outlook.com (25.164.91.20) To HKXPR06MB1013.apcprd06.prod.outlook.com (25.161.137.28) X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB1013; 2:mAw0WTi3k9YN0wHJ/pcKiyKszfope+w/bgytq+BeMxGIk7wOZwF1L658XxXKVYMSQABwXQ02PHDJwlcqT00D7eUwDAWDWGLk+96EusgGdjYS2/czl0q7fL+1iyQ76u9G8d3nm1M62TpFa8fpRtcOEQ==; 3:x0YMai7vG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ho3NAf7o8S+yihf2WxWFrCMTFDY4/T+fiVNZcii1dexwVLhht34uhTxWP8UbSEZ20rKX3XVgaOBpoDEfbqJEHbjORNsIy1NDKdCN82z55sJI5aOXabEUJduPYxAqPTjanxXgEGg3/T1FixAMwzG+KoatlbTJY4NZINOAvCjMpSY897xK8pPcXhM/QSWVK9+QVE9sJKem59u/Y03zKy1bd3oazMuo4apAFQe1no0ZuRwcV6JhrBJqGDm1evwxKXakiYwhvZX41lX5Y9PAJsKvJMAdGL6mTzXxFMeVZVOZxtmMmTdOTNpb1mAVp9qaxznqI/PE8tu0mNXaVAMSekkMawzD0Bb fSk1Mox7Q2P4GGpTUdUhIltg6i X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(85106069007906); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046); SRVR:HKXPR06MB1013; BCL:0; PCL:0; RULEID:; SRVR:HKXPR06MB1013; X-Forefront-PRVS: 0784C803FD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(4001350100001)(77096005)(97736004)(46406003)(5004730100002)(42186005)(53416004)(50986999)(36756003)(76176999)(229853001)(86362001)(2950100001)(54356999)(5001960100002)(5001770100001)(66066001)(33646002)(81156007)(101416001)(87976001)(122386002)(47776003)(69596002)(189998001)(19580395003)(50466002)(40100003)(19580405001)(106356001)(105586002)(1096002)(92566002)(83506001)(5008740100001)(6116002)(3846002)(23726003)(586003); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB1013; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HKXPR06MB1013; 23:QmDFrBP+6WXG1+dj9oz4BzcYMRLQfVf8i3mmFh3DA?= =?us-ascii?Q?18KhCFqxkJEFkvOok7cniVYjpamYqMpY0vWwVzdfzEf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I0hIRUKwChYK6ws7VzO5LQ+Z6yptOd2IIV9ReE?= =?us-ascii?Q?qDqFnKyAsSK0zxyzDyNICIQxXHtH054QugFv4Mdb2I6G04ZlQlZW19SqvZNf?= =?us-ascii?Q?cQXxi0N42O1+OOAqG8ftvrGpIR8Pvc2/dbh+YZATwR5lwp6hyZaEFAXCiGQ+?= =?us-ascii?Q?RxWi3QZTXg=3D?= X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB1013; 5:9t5W824X+R7kbFVWnVQG9pwV7COhkbRHVEpijoU3+O+Y9zEqNpy74lAk+WFpXxJefEKaP8c0EVTvTLtzRoYywd3ABfy2O4E1FABie8qK0SFVnhNzuYWhlzP6T6XHCHaIoijD/aCFRSapEeW6KQqH5Q==; 24:Z4+rIxgxzw0pE+ILAXTNd0mMwrKf/v5YfUvdCNH+XISB5srVm+xQqcgLs5nYM1MYDRo+nkxBjeXwbnNQ2AB7tc9rj3X2JYid3XlRc1jE1QQ=; 20:kDR9+RJ0HMeniSz/nbENPRkrbsFmDZnOP6iiHYJ6zC+F0rLZQeGO8mhWC5xZa595nxjDDS6cuMVlciTJ4eTMBiR2AVhNFLbTXazqk8+OelRQT+ooSnW3gHrE+dCLMr19zxVtFWMfjvPXCajVWX5oV1U57pVTnhO25sxF7xXVoJQ= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2015 05:27:10.5935 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB1013 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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 --- v3 -> v4 - 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 5d4ae7d..ac8d1eb 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 */ @@ -491,12 +497,6 @@ static int rcar_thermal_remove(struct platform_device *pdev) return 0; } -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",