summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/lib.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/lib.c
parent33fee143ac6e3fed184cdd1791fb4b51f06a25c1 (diff)
downloadlinux-cdf7545aef65c47c17afdd3bed90410b3fd33bfd.tar.bz2
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/lib.c')
-rw-r--r--drivers/rtc/lib.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/rtc/lib.c b/drivers/rtc/lib.c
index 9714cb3d1e29..3d0dc70ff7d8 100644
--- a/drivers/rtc/lib.c
+++ b/drivers/rtc/lib.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* rtc and date/time utility functions
*
@@ -5,11 +6,7 @@
* Author: Alessandro Zummo <a.zummo@towertech.it>
*
* based on arch/arm/common/rtctime.c and other bits
- *
- * 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.
-*/
+ */
#include <linux/export.h>
#include <linux/rtc.h>