diff options
| author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-03-04 14:02:05 -0500 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-03-04 14:21:19 -0500 |
| commit | 1a9de2100d1c3ef7cb685845726438767e44c24e (patch) | |
| tree | f06cb229b79d0c253cf2e986647e9dac8522af75 | |
| parent | 1ebb909d5aa2c53973cbdcde7629fa50c0a56c21 (diff) | |
rtc: tx4939: convert to SPDX identifier
Use SPDX-License-Identifier instead of a verbose license text.
The original text refers to the COPYING file in the main directory which is
GPL v2 only so also update MODULE_LICENSE() to "GPL v2" instead of "GPL".
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
| -rw-r--r-- | drivers/rtc/rtc-tx4939.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/rtc/rtc-tx4939.c b/drivers/rtc/rtc-tx4939.c index 404de455409b..2d24babc4057 100644 --- a/drivers/rtc/rtc-tx4939.c +++ b/drivers/rtc/rtc-tx4939.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * TX4939 internal RTC driver | 3 | * TX4939 internal RTC driver |
| 3 | * Based on RBTX49xx patch from CELF patch archive. | 4 | * Based on RBTX49xx patch from CELF patch archive. |
| 4 | * | 5 | * |
| 5 | * This file is subject to the terms and conditions of the GNU General Public | ||
| 6 | * License. See the file "COPYING" in the main directory of this archive | ||
| 7 | * for more details. | ||
| 8 | * | ||
| 9 | * (C) Copyright TOSHIBA CORPORATION 2005-2007 | 6 | * (C) Copyright TOSHIBA CORPORATION 2005-2007 |
| 10 | */ | 7 | */ |
| 11 | #include <linux/rtc.h> | 8 | #include <linux/rtc.h> |
| @@ -310,5 +307,5 @@ module_platform_driver_probe(tx4939_rtc_driver, tx4939_rtc_probe); | |||
| 310 | 307 | ||
| 311 | MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>"); | 308 | MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>"); |
| 312 | MODULE_DESCRIPTION("TX4939 internal RTC driver"); | 309 | MODULE_DESCRIPTION("TX4939 internal RTC driver"); |
| 313 | MODULE_LICENSE("GPL"); | 310 | MODULE_LICENSE("GPL v2"); |
| 314 | MODULE_ALIAS("platform:tx4939rtc"); | 311 | MODULE_ALIAS("platform:tx4939rtc"); |
