Skip to content

Commit c954579

Browse files
morimotoEduardo Valentin
authored andcommitted
thermal: rcar_thermal: convert to SPDX identifiers
As original license mentioned, it is GPL-2.0 in SPDX. Then, MODULE_LICENSE() should be "GPL v2" instead of "GPL". See ${LINUX}/include/linux/module.h "GPL" [GNU Public License v2 or later] "GPL v2" [GNU Public License v2] Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
1 parent 2dfef65 commit c954579

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

drivers/thermal/rcar_thermal.c

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* R-Car THS/TSC thermal sensor driver
34
*
45
* Copyright (C) 2012 Renesas Solutions Corp.
56
* Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
6-
*
7-
* This program is free software; you can redistribute it and/or modify
8-
* it under the terms of the GNU General Public License as published by
9-
* the Free Software Foundation; version 2 of the License.
10-
*
11-
* This program is distributed in the hope that it will be useful, but
12-
* WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License along
17-
* with this program; if not, write to the Free Software Foundation, Inc.,
18-
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
197
*/
208
#include <linux/delay.h>
219
#include <linux/err.h>
@@ -660,6 +648,6 @@ static struct platform_driver rcar_thermal_driver = {
660648
};
661649
module_platform_driver(rcar_thermal_driver);
662650

663-
MODULE_LICENSE("GPL");
651+
MODULE_LICENSE("GPL v2");
664652
MODULE_DESCRIPTION("R-Car THS/TSC thermal sensor driver");
665653
MODULE_AUTHOR("Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>");

0 commit comments

Comments
 (0)