Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754449AbbLGHnB (ORCPT ); Mon, 7 Dec 2015 02:43:01 -0500 Received: from relmlor3.renesas.com ([210.160.252.173]:19610 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752736AbbLGHm6 (ORCPT ); Mon, 7 Dec 2015 02:42:58 -0500 X-IronPort-AV: E=Sophos;i="5.20,393,1444662000"; d="scan'";a="201249622" Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Message-ID: <87wpsq671g.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 1/8 v3] 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 , Geert Uytterhoeven CC: Magnus , , , , "devicetree@vger.kernel.org" In-Reply-To: <87y4d6672t.wl%kuninori.morimoto.gx@renesas.com> References: <87y4d6672t.wl%kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset="US-ASCII" Date: Mon, 7 Dec 2015 07:42:50 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR01CA0023.jpnprd01.prod.outlook.com (25.161.131.161) To HK2PR06MB1012.apcprd06.prod.outlook.com (25.161.188.28) X-Microsoft-Exchange-Diagnostics: 1;HK2PR06MB1012;2:TGplhuAZMLwkE8/nElt2pVs9/VyOiRSkyCCLAmcMFpvpL0vLoLhmhPLDbyyA+ImlXH6mokzW24nEouO82+8Wl9gbkFtzJ7+Sb/NwdC5ci0VUF91xMKHIruXb1nnHpazl9Ts20M3nKQ2VupH4YNCFWg==;3:84fdqfEvzDsJMbyD/YjUTGAh4DU61zfFV569z3VmNmRNSynD+3wWbmaLNvuOMh63obG2Yq4+mrxcui6medSiDIq4TZ4qQlv6t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dzbYFMo/MMEKAt/g/Ve0z3YauYm59arIixEWF2hxxu/q4aSbOS7MX3OjdZhx767KxtWCM7qjf6bailshKXwDXX0xDcN2mMOrmXghiyIFOmOEK1eQC9l+n+dA7EKROe7mlT2ZEQUpwoaLsuIqH1/AA9Cr55hj+JTVWe+CKaTsS/54n7QgjqdI5NJ5z1ELzuk1qF7rTypOkxoyxmn4sgCwV+p6PPeAVMK4PswBc1HxXqryL4= 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:HK2PR06MB1012;BCL:0;PCL:0;RULEID:;SRVR:HK2PR06MB1012; X-Forefront-PRVS: 078310077C X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6009001)(199003)(189002)(69596002)(5008740100001)(1096002)(229853001)(23726003)(47776003)(189998001)(54356999)(101416001)(5001960100002)(36756003)(97736004)(81156007)(5001770100001)(66066001)(53416004)(4001350100001)(50466002)(33646002)(42186005)(122386002)(19580395003)(87976001)(86362001)(106356001)(19580405001)(40100003)(2950100001)(105586002)(5004730100002)(83506001)(76176999)(50986999)(46406003)(586003)(92566002)(6116002)(77096005)(3846002);DIR:OUT;SFP:1102;SCL:1;SRVR:HK2PR06MB1012;H:morimoto-PC.renesas.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;HK2PR06MB1012;23:FyDSbDekUhuqpJEyEjObVOazUlG1wKopJ/7Mfr8tQ?= =?us-ascii?Q?d6PEgCCseURj1YY1EXhUXiK1v5hOjkLeLJorhfEksWwNAjKxICasKdb/q3j7?= =?us-ascii?Q?EboRGYTZ2d8Y0c2OUBY0iCDNZUJIMTtx1wsYPclRq47HGPHL2mmYoqUnqbp5?= =?us-ascii?Q?uGXQ8TWp6aVvhOL3v9zZWtVa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ee?= =?us-ascii?Q?i6BwATnU6va+nr6vqo6zyK8Uc6OLRupZt99z4H124ZEAWQ85u9Dnl+XDUCkM?= =?us-ascii?Q?4eJ3DWDC6A=3D?= X-Microsoft-Exchange-Diagnostics: 1;HK2PR06MB1012;5:49JnKcx4zfRELqepC2zdtEAYYVTDSIGwy+f4/5Kk9oLihUClicmgVxRjE+hkP1FKucIDNOMzrq0P5Uog+WVEeoV4aqzXIYraEd+sLnt3SMn43jy5m4CfUh6ixshH7/M9Cr+DTQmNY3de34bupKipfg==;24:lMcDCOzdqoARwUMNM4+C4GIbXEwz1IpvrC0lbv1mp9PpE9o5uvffMYoNj9VnKV0eTBHwcPkTRWDw6c7dvLO/pWvuIQOh+4Fc0uUiQkiYx38=;20:UAR0T/ZXQkR43ZolUxkoFRNSBnwdTtgg2eBOPkTBpt1OSWAilP3Jv4tM1Mqy0QWuQd3oOvI2kuutFhD8m0uIgaUJZggoEjo1UAVsydBXT7PiP5vwtf0xXsFnMSzbXdcT0FWELFIEKeTNQB7pHaDwCEQhmQwd21EdFYR+pKLMa1Q= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2015 07:42:50.3307 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB1012 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1350 Lines: 52 From: Kuninori Morimoto This patch is prepare for of-thermal support. Signed-off-by: Kuninori Morimoto --- v2 -> v3 - 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", -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/