diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-06-01 04:08:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-05 11:37:15 -0400 |
commit | 8d36fe1e9e1f8cf4a32ca4941fd3eb8cc472bf47 (patch) | |
tree | c608d65fc1c4f5a05162eddd8b2ee35f93b2c9ad | |
parent | ad1d7d7c106961af43404a44da40369045fc69a2 (diff) |
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>
-rw-r--r-- | drivers/mtd/devices/lart.c | 5 | ||||
-rw-r--r-- | drivers/mtd/devices/m25p80.c | 6 | ||||
-rw-r--r-- | drivers/mtd/devices/mchp23k256.c | 6 | ||||
-rw-r--r-- | drivers/mtd/devices/serial_flash_cmds.h | 6 | ||||
-rw-r--r-- | drivers/mtd/devices/sst25l.c | 6 | ||||
-rw-r--r-- | drivers/mtd/devices/st_spi_fsm.c | 6 |
6 files changed, 6 insertions, 29 deletions
diff --git a/drivers/mtd/devices/lart.c b/drivers/mtd/devices/lart.c index f67b653c17d7..56f50d27b7fd 100644 --- a/drivers/mtd/devices/lart.c +++ b/drivers/mtd/devices/lart.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | 2 | ||
2 | /* | 3 | /* |
3 | * MTD driver for the 28F160F3 Flash Memory (non-CFI) on LART. | 4 | * MTD driver for the 28F160F3 Flash Memory (non-CFI) on LART. |
@@ -6,10 +7,6 @@ | |||
6 | * | 7 | * |
7 | * Copyright (c) 2001, 2d3D, Inc. | 8 | * Copyright (c) 2001, 2d3D, Inc. |
8 | * | 9 | * |
9 | * This code is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | * | ||
13 | * References: | 10 | * References: |
14 | * | 11 | * |
15 | * [1] 3 Volt Fast Boot Block Flash Memory" Intel Datasheet | 12 | * [1] 3 Volt Fast Boot Block Flash Memory" Intel Datasheet |
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 651bab6d4e31..c50888670250 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * MTD SPI driver for ST M25Pxx (and similar) serial flash chips | 3 | * MTD SPI driver for ST M25Pxx (and similar) serial flash chips |
3 | * | 4 | * |
@@ -8,11 +9,6 @@ | |||
8 | * Some parts are based on lart.c by Abraham Van Der Merwe | 9 | * Some parts are based on lart.c by Abraham Van Der Merwe |
9 | * | 10 | * |
10 | * Cleaned up and generalized based on mtd_dataflash.c | 11 | * Cleaned up and generalized based on mtd_dataflash.c |
11 | * | ||
12 | * This code is free software; you can redistribute it and/or modify | ||
13 | * it under the terms of the GNU General Public License version 2 as | ||
14 | * published by the Free Software Foundation. | ||
15 | * | ||
16 | */ | 12 | */ |
17 | 13 | ||
18 | #include <linux/err.h> | 14 | #include <linux/err.h> |
diff --git a/drivers/mtd/devices/mchp23k256.c b/drivers/mtd/devices/mchp23k256.c index 75f71d166fd6..b20d02b4f830 100644 --- a/drivers/mtd/devices/mchp23k256.c +++ b/drivers/mtd/devices/mchp23k256.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * mchp23k256.c | 3 | * mchp23k256.c |
3 | * | 4 | * |
4 | * Driver for Microchip 23k256 SPI RAM chips | 5 | * Driver for Microchip 23k256 SPI RAM chips |
5 | * | 6 | * |
6 | * Copyright © 2016 Andrew Lunn <andrew@lunn.ch> | 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 | #include <linux/device.h> | 9 | #include <linux/device.h> |
14 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/drivers/mtd/devices/serial_flash_cmds.h b/drivers/mtd/devices/serial_flash_cmds.h index eba125c9f23f..8b51a872fd3c 100644 --- a/drivers/mtd/devices/serial_flash_cmds.h +++ b/drivers/mtd/devices/serial_flash_cmds.h | |||
@@ -1,12 +1,8 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Generic/SFDP Flash Commands and Device Capabilities | 3 | * Generic/SFDP Flash Commands and Device Capabilities |
3 | * | 4 | * |
4 | * Copyright (C) 2013 Lee Jones <lee.jones@lianro.org> | 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 | #ifndef _MTD_SERIAL_FLASH_CMDS_H | 8 | #ifndef _MTD_SERIAL_FLASH_CMDS_H |
diff --git a/drivers/mtd/devices/sst25l.c b/drivers/mtd/devices/sst25l.c index 10d24efb4629..b81c3f0b85f9 100644 --- a/drivers/mtd/devices/sst25l.c +++ b/drivers/mtd/devices/sst25l.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * sst25l.c | 3 | * sst25l.c |
3 | * | 4 | * |
@@ -8,11 +9,6 @@ | |||
8 | * Author: Ryan Mallon | 9 | * Author: Ryan Mallon |
9 | * | 10 | * |
10 | * Based on m25p80.c | 11 | * Based on m25p80.c |
11 | * | ||
12 | * This code is free software; you can redistribute it and/or modify | ||
13 | * it under the terms of the GNU General Public License version 2 as | ||
14 | * published by the Free Software Foundation. | ||
15 | * | ||
16 | */ | 12 | */ |
17 | 13 | ||
18 | #include <linux/module.h> | 14 | #include <linux/module.h> |
diff --git a/drivers/mtd/devices/st_spi_fsm.c b/drivers/mtd/devices/st_spi_fsm.c index 55d4a77f3b7f..f4d1667daaf9 100644 --- a/drivers/mtd/devices/st_spi_fsm.c +++ b/drivers/mtd/devices/st_spi_fsm.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * st_spi_fsm.c - ST Fast Sequence Mode (FSM) Serial Flash Controller | 3 | * st_spi_fsm.c - ST Fast Sequence Mode (FSM) Serial Flash Controller |
3 | * | 4 | * |
@@ -6,11 +7,6 @@ | |||
6 | * Copyright (C) 2010-2014 STMicroelectronics Limited | 7 | * Copyright (C) 2010-2014 STMicroelectronics Limited |
7 | * | 8 | * |
8 | * JEDEC probe based on drivers/mtd/devices/m25p80.c | 9 | * JEDEC probe based on drivers/mtd/devices/m25p80.c |
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 | * | ||
14 | */ | 10 | */ |
15 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
16 | #include <linux/module.h> | 12 | #include <linux/module.h> |