Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 420

Based on 1 normalized pattern(s):

this code 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

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

has been chosen to replace the boilerplate/reference in 6 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Allison Randal <allison@lohutok.net>
Reviewed-by: Armijn Hemel <armijn@tjaldur.nl>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190531190113.627158185@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Thomas Gleixner and committed by
Greg Kroah-Hartman
8d36fe1e ad1d7d7c

+6 -29
+1 -4
drivers/mtd/devices/lart.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 2 3 /* 3 4 * MTD driver for the 28F160F3 Flash Memory (non-CFI) on LART. ··· 6 5 * Author: Abraham vd Merwe <abraham@2d3d.co.za> 7 6 * 8 7 * Copyright (c) 2001, 2d3D, Inc. 9 - * 10 - * This code is free software; you can redistribute it and/or modify 11 - * it under the terms of the GNU General Public License version 2 as 12 - * published by the Free Software Foundation. 13 8 * 14 9 * References: 15 10 *
+1 -5
drivers/mtd/devices/m25p80.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * MTD SPI driver for ST M25Pxx (and similar) serial flash chips 3 4 * ··· 9 8 * Some parts are based on lart.c by Abraham Van Der Merwe 10 9 * 11 10 * Cleaned up and generalized based on mtd_dataflash.c 12 - * 13 - * This code is free software; you can redistribute it and/or modify 14 - * it under the terms of the GNU General Public License version 2 as 15 - * published by the Free Software Foundation. 16 - * 17 11 */ 18 12 19 13 #include <linux/err.h>
+1 -5
drivers/mtd/devices/mchp23k256.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * mchp23k256.c 3 4 * 4 5 * Driver for Microchip 23k256 SPI RAM chips 5 6 * 6 7 * Copyright © 2016 Andrew Lunn <andrew@lunn.ch> 7 - * 8 - * This code is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License version 2 as 10 - * published by the Free Software Foundation. 11 - * 12 8 */ 13 9 #include <linux/device.h> 14 10 #include <linux/module.h>
+1 -5
drivers/mtd/devices/serial_flash_cmds.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Generic/SFDP Flash Commands and Device Capabilities 3 4 * 4 5 * Copyright (C) 2013 Lee Jones <lee.jones@lianro.org> 5 - * 6 - * This code is free software; you can redistribute it and/or modify 7 - * it under the terms of the GNU General Public License version 2 as 8 - * published by the Free Software Foundation. 9 - * 10 6 */ 11 7 12 8 #ifndef _MTD_SERIAL_FLASH_CMDS_H
+1 -5
drivers/mtd/devices/sst25l.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * sst25l.c 3 4 * ··· 9 8 * Author: Ryan Mallon 10 9 * 11 10 * Based on m25p80.c 12 - * 13 - * This code is free software; you can redistribute it and/or modify 14 - * it under the terms of the GNU General Public License version 2 as 15 - * published by the Free Software Foundation. 16 - * 17 11 */ 18 12 19 13 #include <linux/module.h>
+1 -5
drivers/mtd/devices/st_spi_fsm.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * st_spi_fsm.c - ST Fast Sequence Mode (FSM) Serial Flash Controller 3 4 * ··· 7 6 * Copyright (C) 2010-2014 STMicroelectronics Limited 8 7 * 9 8 * JEDEC probe based on drivers/mtd/devices/m25p80.c 10 - * 11 - * This code is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License version 2 as 13 - * published by the Free Software Foundation. 14 - * 15 9 */ 16 10 #include <linux/kernel.h> 17 11 #include <linux/module.h>