summaryrefslogtreecommitdiff
path: root/drivers/rtc/class.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-03-13 23:02:48 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-03-18 03:36:01 +0100
commitcdf7545aef65c47c17afdd3bed90410b3fd33bfd (patch)
tree68f1879a396290f7bbc317dfe0d311099908ce51 /drivers/rtc/class.c
parent33fee143ac6e3fed184cdd1791fb4b51f06a25c1 (diff)
rtc: convert core to SPDX identifier
Use SPDX-License-Identifier instead of a verbose license text. Also fix the block comment alignment. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/class.c')
-rw-r--r--drivers/rtc/class.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c
index ac93b76f2b11..22190ad28e8b 100644
--- a/drivers/rtc/class.c
+++ b/drivers/rtc/class.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* RTC subsystem, base class
*
@@ -5,11 +6,7 @@
* Author: Alessandro Zummo <a.zummo@towertech.it>
*
* class skeleton from drivers/hwmon/hwmon.c
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
+ */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt