aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2018-11-08 01:43:22 -0500
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-11-12 17:14:09 -0500
commit4ff6f0249e213eab98828b2d19e896a143fc7e28 (patch)
tree99dfe9014a9b1a841cc8aa837ece3f84ce5d6fd8
parent725412d9e07aad88767ad847dcc81d60b617af99 (diff)
rtc: sh: convert to SPDX identifiers
This patch updates license to use SPDX-License-Identifier instead of verbose license text. 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> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--drivers/rtc/rtc-sh.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/rtc/rtc-sh.c b/drivers/rtc/rtc-sh.c
index 51ba414798a8..d417b203cbc5 100644
--- a/drivers/rtc/rtc-sh.c
+++ b/drivers/rtc/rtc-sh.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0
1/* 2/*
2 * SuperH On-Chip RTC Support 3 * SuperH On-Chip RTC Support
3 * 4 *
@@ -9,10 +10,6 @@
9 * 10 *
10 * Copyright (C) 2000 Philipp Rumpf <prumpf@tux.org> 11 * Copyright (C) 2000 Philipp Rumpf <prumpf@tux.org>
11 * Copyright (C) 1999 Tetsuya Okada & Niibe Yutaka 12 * Copyright (C) 1999 Tetsuya Okada & Niibe Yutaka
12 *
13 * This file is subject to the terms and conditions of the GNU General Public
14 * License. See the file "COPYING" in the main directory of this archive
15 * for more details.
16 */ 13 */
17#include <linux/module.h> 14#include <linux/module.h>
18#include <linux/mod_devicetable.h> 15#include <linux/mod_devicetable.h>
@@ -681,5 +678,5 @@ MODULE_DESCRIPTION("SuperH on-chip RTC driver");
681MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>, " 678MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>, "
682 "Jamie Lenehan <lenehan@twibble.org>, " 679 "Jamie Lenehan <lenehan@twibble.org>, "
683 "Angelo Castello <angelo.castello@st.com>"); 680 "Angelo Castello <angelo.castello@st.com>");
684MODULE_LICENSE("GPL"); 681MODULE_LICENSE("GPL v2");
685MODULE_ALIAS("platform:" DRV_NAME); 682MODULE_ALIAS("platform:" DRV_NAME);