rtc: 88pm80x: convert to SPDX identifier
Alexandre Belloni
maintainerPATCH 1/1 rtc: 88pm80x: 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 <[email protected]>
--- drivers/rtc/rtc-88pm80x.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-)
drivers/rtc/rtc-88pm80x.c +2 -14
@@ -1,22 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Real Time Clock driver for Marvell 88PM80x PMIC * * Copyright (c) 2012 Marvell International Ltd. * Wenzeng Chen<[email protected]> * Qiao Zhou <[email protected]> -* -* This file is subject to the terms and conditions of the GNU General -* Public License. See the file "COPYING" in the main directory of this -* archive for more details. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/kernel.h>
@@ -349,7 +337,7 @@ static struct platform_driver pm80x_rtc_driver = {module_platform_driver (pm80x_rtc_driver); -MODULE_LICENSE ("GPL" ); +MODULE_LICENSE ("GPL v2" );MODULE_DESCRIPTION ("Marvell 88PM80x RTC driver" );MODULE_AUTHOR ("Qiao Zhou <[email protected]>" );MODULE_ALIAS ("platform:88pm80x-rtc" );
Signature · 1 line
2.20.1