Commit cdf7545a authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

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: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 33fee143
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
/*
 * RTC subsystem, base class
 *
@@ -5,10 +6,6 @@
 * 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
+2 −5
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
/*
 * RTC subsystem, dev interface
 *
@@ -5,10 +6,6 @@
 * Author: Alessandro Zummo <a.zummo@towertech.it>
 *
 * based on arch/arm/common/rtctime.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
+2 −5
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
/*
 * RTC subsystem, initialize system time on startup
 *
 * Copyright (C) 2005 Tower Technologies
 * Author: Alessandro Zummo <a.zummo@towertech.it>
 *
 * 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
+2 −5
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
/*
 * RTC subsystem, interface functions
 *
@@ -5,10 +6,6 @@
 * Author: Alessandro Zummo <a.zummo@towertech.it>
 *
 * based on arch/arm/common/rtctime.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.
 */

#include <linux/rtc.h>
+2 −5
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
/*
 * rtc and date/time utility functions
 *
@@ -5,10 +6,6 @@
 * 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>
Loading