From patchwork Fri Dec 4 03:17:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7765181 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 05C789FCAA for ; Fri, 4 Dec 2015 03:17:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DF94020454 for ; Fri, 4 Dec 2015 03:17:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8C9FC205BB for ; Fri, 4 Dec 2015 03:17:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755232AbbLDDRa (ORCPT ); Thu, 3 Dec 2015 22:17:30 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:18478 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755184AbbLDDR2 (ORCPT ); Thu, 3 Dec 2015 22:17:28 -0500 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie1.idc.renesas.com with ESMTP; 04 Dec 2015 12:17:25 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id E021348794; Fri, 4 Dec 2015 12:17:25 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id D773D8002E; Fri, 4 Dec 2015 12:17:25 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id CF7918002D; Fri, 4 Dec 2015 12:17:25 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id NAC30159; Fri, 4 Dec 2015 12:17:25 +0900 X-IronPort-AV: E=Sophos;i="5.20,378,1444662000"; d="scan'";a="201104479" Received: from mail-pu1apc01lp0020.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.20]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 04 Dec 2015 12:17:23 +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 SG2PR06MB1020.apcprd06.prod.outlook.com (10.161.9.28) with Microsoft SMTP Server (TLS) id 15.1.337.19; Fri, 4 Dec 2015 03:17:21 +0000 Message-ID: <87zixqgb15.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 1/4] 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: <871tb2hpn2.wl%kuninori.morimoto.gx@renesas.com> References: <871tb2hpn2.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Fri, 4 Dec 2015 03:17:21 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS1PR01CA0024.jpnprd01.prod.outlook.com (25.161.225.162) To SG2PR06MB1020.apcprd06.prod.outlook.com (25.161.9.28) X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB1020; 2:CqTOf0eUE9OPT27Vm5oYlCa2glbzft6dQNWx1aq/fY2OSKQxbsYSkBtTEaeyhAgHZfs2OdlP0q9AMq5cDt4aTYHRzghmFa0GJG9mGPDwz9+Uoa+t/JpdNi9jV5HgctgFp7Es9sUl4uwcwa9+KwkQvg==; 3:5kNydn8T+s1t1hG/T2gqbtFIpV2r4uQUQFiDxvdIDbxmVDI5CD9xG6ut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qexMxpRrL6XF11KSVLLkRIh/TOCBWxh4LQRs+4oCJccjfO6FYUuh0sTGlM+9M+hF2UeJO9eO+7eff6/pc7iZnC9LaYkKJZfJmmE24AfQEeIPEeoM/kNO7uQlggXQs0PCpqYEP2TLQx6cOYF+wCbnktbpjtgls5bq5o+m+AeiAC0emH13V09TGA0HgyQnkHw500EGIfHiWYCsogNuVd1JV80j7oC5d9vxRmKyiXUwuFknPwhNfkujh9OAbIC8f8r0nPOgp8WEYZvV7CuDDS8Lbly9I5Z2zWoY+PwocFhL80y7wFe bBc5E8bUb43xoj24/BVz2Vat7b 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)(10201501046)(3002001); SRVR:SG2PR06MB1020; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB1020; X-Forefront-PRVS: 07807C55DC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(19580395003)(46406003)(586003)(4001350100001)(23726003)(1096002)(5008740100001)(33646002)(5001770100001)(81156007)(42186005)(6116002)(97736004)(19580405001)(83506001)(40100003)(47776003)(101416001)(122386002)(3846002)(69596002)(50466002)(5001960100002)(86362001)(36756003)(5004730100002)(106356001)(53416004)(54356999)(2950100001)(105586002)(189998001)(92566002)(87976001)(77096005)(76176999)(66066001)(229853001)(50986999); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB1020; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB1020; 23:m1kEqaRKo2swDedyLpQYx6UmAcb2KXx8jpyX+kHP5?= =?us-ascii?Q?FGHjs0XT++39znYFoOJWfbco/FljHwlXYS2saWuITn+nz6qmfER+oSxwfbVt?= =?us-ascii?Q?ZqNEowpRMfm0R3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us-ascii?Q?2PWdyGgP2C/mfh+bsNG429OSOxUScMXA+3OxuFvYLUmVDCDXurbk+4q8v1oU?= =?us-ascii?Q?5GzbvYPIYRuUR9tQvHPMVpaOlT3DBTUHTTehlkDeVRSOOeNulKYEYVuZlmRK?= =?us-ascii?Q?RzBOxNpFZk=3D?= X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB1020; 5:1pz2d8VtP0iTE2Sebxjnd4pejJqZZPQIY1IGPMxqaZ/WNj0W2xsWPjrcbWSPoKapRhP7a+1enXyEZWEklIaA5rNwsznwrBpl+l8YmWY70OvUxJPMmDUDR2Cte1BGe7BoV9ictPxGVhnlcja7S4eD5w==; 24:3OnggzPM5Q3t4KEbvEVtOlqQQUaR8SUx6a+BgIzQopnl3Eaf6U7F4W8GEHUO7reQ2NKWpOySi4WuN2BMcNIgAH+HFHfvumQjioqx+FMtK18=; 20:1Y78jhZutgQlBNakZyiEjmJwUebXB/X7LlF/0Gas6mh+A1N1rwx/B03yKrVxfoqzw3kkmMqQ2ViteII17C8kS4EC5753hl6FxAkyOMSEQLf5yUvBZSKGl6tdRvI3xEgDEOK/+W1uisdmGRrVufTk3HJnK6rV9Noa1tyuB3kg6BI= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2015 03:17:21.5279 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB1020 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 --- 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",