[patch V2 6-1/24] treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_56.RULE (part 4)

Thomas Gleixner <[email protected]>
Newsgroups org.kernel.vger.linux-spdx
Message-ID <[email protected]>
Based on the normalized pattern:

    this file is licensed under the terms of the gnu general public
    license version 2 this program is licensed as is without any warranty
    of any kind whether express or implied

extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

has been chosen to replace the boilerplate/reference.

Signed-off-by: Thomas Gleixner <[email protected]>
---
V2: Split to overcome list size limits
---
 drivers/net/ethernet/allwinner/sun4i-emac.h         |    5 +----
 drivers/net/ethernet/freescale/fec_mpc52xx.h        |    6 ++----
 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c    |    5 +----
 drivers/net/ethernet/freescale/fs_enet/mac-fec.c    |    6 +-----
 drivers/net/ethernet/freescale/fs_enet/mac-scc.c    |    5 +----
 drivers/net/ethernet/freescale/xgmac_mdio.c         |    5 +----
 drivers/net/ethernet/marvell/mvneta_bm.c            |    5 +----
 drivers/net/ethernet/marvell/mvneta_bm.h            |    5 +----
 drivers/net/ethernet/moxa/moxart_ether.c            |    5 +----
 drivers/net/ethernet/moxa/moxart_ether.h            |    5 +----
 drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c |    5 +----
 drivers/net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c |    5 +----
 drivers/net/usb/sr9800.h                            |    5 +----
 drivers/pinctrl/pinctrl-artpec6.c                   |    5 +----
 drivers/pinctrl/pinctrl-lpc18xx.c                   |    5 +----
 drivers/pinctrl/pinctrl-single.c                    |    5 +----
 drivers/pinctrl/spear/pinctrl-plgpio.c              |    5 +----
 drivers/pinctrl/spear/pinctrl-spear.c               |    5 +----
 drivers/pinctrl/spear/pinctrl-spear.h               |    5 +----
 drivers/pinctrl/spear/pinctrl-spear1310.c           |    5 +----
 drivers/pinctrl/spear/pinctrl-spear1340.c           |    5 +----
 drivers/pinctrl/spear/pinctrl-spear300.c            |    5 +----
 drivers/pinctrl/spear/pinctrl-spear310.c            |    5 +----
 drivers/pinctrl/spear/pinctrl-spear320.c            |    5 +----
 drivers/pinctrl/spear/pinctrl-spear3xx.c            |    5 +----
 drivers/pinctrl/spear/pinctrl-spear3xx.h            |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun4i-a10.c           |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun50i-a64-r.c        |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c          |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun50i-h5.c           |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun5i.c               |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c         |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun6i-a31.c           |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c         |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun8i-a23.c           |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun8i-a33.c           |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun8i-a83t-r.c        |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun8i-a83t.c          |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun8i-h3-r.c          |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c            |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun8i-v3s.c           |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun9i-a80-r.c         |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sun9i-a80.c           |    5 +----
 drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c       |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sunxi.c               |    5 +----
 drivers/pinctrl/sunxi/pinctrl-sunxi.h               |    5 +----
 drivers/pinctrl/ti/pinctrl-ti-iodelay.c             |    5 +----
 drivers/power/reset/at91-poweroff.c                 |    5 +----
 drivers/power/reset/at91-reset.c                    |    5 +----
 drivers/power/reset/at91-sama5d2_shdwc.c            |    5 +----
 drivers/pwm/pwm-berlin.c                            |    5 +----
 drivers/reset/reset-axs10x.c                        |    5 +----
 drivers/reset/reset-hsdk.c                          |    5 +----
 drivers/video/fbdev/ocfb.c                          |    5 +----
 drivers/virt/fsl_hypervisor.c                       |    5 +----
 drivers/watchdog/max63xx_wdt.c                      |    5 +----
 drivers/watchdog/orion_wdt.c                        |    5 +----
 drivers/watchdog/ts4800_wdt.c                       |    5 +----
 include/dt-bindings/leds/leds-netxbig.h             |    9 ++-------
 include/dt-bindings/leds/leds-pca9532.h             |    9 ++-------
 include/dt-bindings/leds/leds-pca955x.h             |    9 ++-------
 include/linux/amba/sp810.h                          |    5 +----
 include/linux/davinci_emac.h                        |    6 ++----
 include/linux/dmapool.h                             |    6 +-----
 include/linux/edac.h                                |    7 ++-----
 include/linux/fs_enet_pd.h                          |    9 +++------
 include/linux/fs_uart_pd.h                          |    5 +----
 include/linux/fsl/bestcomm/ata.h                    |    7 +------
 include/linux/fsl/bestcomm/bestcomm.h               |    6 +-----
 include/linux/fsl/bestcomm/bestcomm_priv.h          |    6 +-----
 include/linux/fsl/bestcomm/fec.h                    |    7 +------
 include/linux/fsl/bestcomm/sram.h                   |    7 +------
 include/linux/irqchip.h                             |    5 +----
 include/linux/kgdb.h                                |    4 +---
 include/linux/mbus.h                                |    5 +----
 include/linux/mtd/spear_smi.h                       |    5 +----
 include/linux/mvebu-pmsu.h                          |    5 +----
 include/linux/pata_arasan_cf_data.h                 |    5 +----
 include/linux/platform_data/i2c-davinci.h           |    6 ++----
 include/linux/platform_data/keyboard-spear.h        |    5 +----
 include/linux/platform_data/media/si4713.h          |    6 +-----
 include/linux/platform_data/mtd-davinci-aemif.h     |    5 +----
 include/linux/platform_data/mtd-orion_nand.h        |    6 +-----
 include/linux/platform_data/usb-davinci.h           |    5 +----
 include/linux/platform_data/usb-ehci-orion.h        |    6 +-----
 include/linux/soc/sunxi/sunxi_sram.h                |    5 +----
 include/linux/sunxi-rsb.h                           |    5 +----
 include/linux/ts-nbus.h                             |    5 +----
 include/video/da8xx-fb.h                            |    6 +-----
 kernel/debug/debug_core.h                           |    5 +----
 kernel/debug/kdb/kdb_debugger.c                     |    5 +----
 sound/soc/codecs/cs42xx8.h                          |    5 +----
 sound/soc/dwc/dwc-pcm.c                             |    5 +----
 sound/soc/dwc/local.h                               |    9 ++-------
 94 files changed, 104 insertions(+), 404 deletions(-)

--- a/drivers/net/ethernet/allwinner/sun4i-emac.h
+++ b/drivers/net/ethernet/allwinner/sun4i-emac.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Allwinner EMAC Fast Ethernet driver for Linux.
  *
@@ -6,10 +7,6 @@
  *
  * Based on the Linux driver provided by Allwinner:
  * Copyright (C) 1997  Sten Wang
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef _SUN4I_EMAC_H_
--- a/drivers/net/ethernet/freescale/fec_mpc52xx.h
+++ b/drivers/net/ethernet/freescale/fec_mpc52xx.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * drivers/net/ethernet/freescale/fec_mpc52xx.h
  *
@@ -5,10 +6,7 @@
  *
  * Author: Dale Farnsworth <[email protected]>
  *
- * 2003-2004 (c) MontaVista, Software, Inc.  This file is licensed under
- * the terms of the GNU General Public License version 2.  This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2003-2004 (c) MontaVista, Software, Inc.
  */
 
 #ifndef __DRIVERS_NET_MPC52XX_FEC_H__
--- a/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * FCC driver for Motorola MPC82xx (PQ2).
  *
@@ -6,10 +7,6 @@
  *
  * 2005 (c) MontaVista Software, Inc.
  * Vitaly Bordug <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <linux/module.h>
--- a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Freescale Ethernet controllers
  *
@@ -6,10 +7,6 @@
  *
  * 2005 (c) MontaVista Software, Inc.
  * Vitaly Bordug <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <linux/module.h>
@@ -483,4 +480,3 @@ const struct fs_ops fs_fec_ops = {
 	.allocate_bd		= allocate_bd,
 	.free_bd		= free_bd,
 };
-
--- a/drivers/net/ethernet/freescale/fs_enet/mac-scc.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mac-scc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Ethernet on Serial Communications Controller (SCC) driver for Motorola MPC8xx and MPC82xx.
  *
@@ -6,10 +7,6 @@
  *
  * 2005 (c) MontaVista Software, Inc.
  * Vitaly Bordug <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <linux/module.h>
--- a/drivers/net/ethernet/freescale/xgmac_mdio.c
+++ b/drivers/net/ethernet/freescale/xgmac_mdio.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * QorIQ 10G MDIO Controller
  *
@@ -6,10 +7,6 @@
  *
  * Authors: Andy Fleming <[email protected]>
  *          Timur Tabi <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <linux/acpi.h>
--- a/drivers/net/ethernet/marvell/mvneta_bm.c
+++ b/drivers/net/ethernet/marvell/mvneta_bm.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for Marvell NETA network controller Buffer Manager.
  *
  * Copyright (C) 2015 Marvell
  *
  * Marcin Wojtas <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/clk.h>
--- a/drivers/net/ethernet/marvell/mvneta_bm.h
+++ b/drivers/net/ethernet/marvell/mvneta_bm.h
@@ -1,13 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Driver for Marvell NETA network controller Buffer Manager.
  *
  * Copyright (C) 2015 Marvell
  *
  * Marcin Wojtas <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef _MVNETA_BM_H_
--- a/drivers/net/ethernet/moxa/moxart_ether.c
+++ b/drivers/net/ethernet/moxa/moxart_ether.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* MOXA ART Ethernet (RTL8201CP) driver.
  *
  * Copyright (C) 2013 Jonas Jensen
@@ -6,10 +7,6 @@
  *
  * Based on code from
  * Moxa Technology Co., Ltd. <www.moxa.com>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/module.h>
--- a/drivers/net/ethernet/moxa/moxart_ether.h
+++ b/drivers/net/ethernet/moxa/moxart_ether.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* MOXA ART Ethernet (RTL8201CP) driver.
  *
  * Copyright (C) 2013 Jonas Jensen
@@ -6,10 +7,6 @@
  *
  * Based on code from
  * Moxa Technology Co., Ltd. <www.moxa.com>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef _MOXART_ETHERNET_H
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Generic DWMAC platform driver
  *
  * Copyright (C) 2007-2011  STMicroelectronics Ltd
  * Copyright (C) 2015 Joachim Eastwood <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/module.h>
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * DWMAC glue for NXP LPC18xx/LPC43xx Ethernet
  *
  * Copyright (C) 2015 Joachim Eastwood <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/mfd/syscon.h>
--- a/drivers/net/usb/sr9800.h
+++ b/drivers/net/usb/sr9800.h
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* CoreChip-sz SR9800 one chip USB 2.0 Ethernet Devices
  *
  * Author : Liu Junliang <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #ifndef	_SR9800_H
--- a/drivers/pinctrl/pinctrl-artpec6.c
+++ b/drivers/pinctrl/pinctrl-artpec6.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for the Axis ARTPEC-6 pin controller
  *
  * Author: Chris Paterson <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/device.h>
--- a/drivers/pinctrl/pinctrl-lpc18xx.c
+++ b/drivers/pinctrl/pinctrl-lpc18xx.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Pinctrl driver for NXP LPC18xx/LPC43xx System Control Unit (SCU)
  *
  * Copyright (C) 2015 Joachim Eastwood <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/bitops.h>
--- a/drivers/pinctrl/pinctrl-single.c
+++ b/drivers/pinctrl/pinctrl-single.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Generic device tree based pinctrl driver for one register per pin
  * type pinmux controllers
  *
  * Copyright (C) 2012 Texas Instruments, Inc.
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/init.h>
--- a/drivers/pinctrl/spear/pinctrl-plgpio.c
+++ b/drivers/pinctrl/spear/pinctrl-plgpio.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * SPEAr platform PLGPIO driver
  *
  * Copyright (C) 2012 ST Microelectronics
  * Viresh Kumar <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/clk.h>
--- a/drivers/pinctrl/spear/pinctrl-spear.c
+++ b/drivers/pinctrl/spear/pinctrl-spear.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for the ST Microelectronics SPEAr pinmux
  *
@@ -7,10 +8,6 @@
  * Inspired from:
  * - U300 Pinctl drivers
  * - Tegra Pinctl drivers
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/err.h>
--- a/drivers/pinctrl/spear/pinctrl-spear.h
+++ b/drivers/pinctrl/spear/pinctrl-spear.h
@@ -1,12 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Driver header file for the ST Microelectronics SPEAr pinmux
  *
  * Copyright (C) 2012 ST Microelectronics
  * Viresh Kumar <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef __PINMUX_SPEAR_H__
--- a/drivers/pinctrl/spear/pinctrl-spear1310.c
+++ b/drivers/pinctrl/spear/pinctrl-spear1310.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for the ST Microelectronics SPEAr1310 pinmux
  *
  * Copyright (C) 2012 ST Microelectronics
  * Viresh Kumar <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/err.h>
--- a/drivers/pinctrl/spear/pinctrl-spear1340.c
+++ b/drivers/pinctrl/spear/pinctrl-spear1340.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for the ST Microelectronics SPEAr1340 pinmux
  *
  * Copyright (C) 2012 ST Microelectronics
  * Viresh Kumar <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/err.h>
--- a/drivers/pinctrl/spear/pinctrl-spear300.c
+++ b/drivers/pinctrl/spear/pinctrl-spear300.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for the ST Microelectronics SPEAr300 pinmux
  *
  * Copyright (C) 2012 ST Microelectronics
  * Viresh Kumar <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/err.h>
--- a/drivers/pinctrl/spear/pinctrl-spear310.c
+++ b/drivers/pinctrl/spear/pinctrl-spear310.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for the ST Microelectronics SPEAr310 pinmux
  *
  * Copyright (C) 2012 ST Microelectronics
  * Viresh Kumar <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/err.h>
--- a/drivers/pinctrl/spear/pinctrl-spear320.c
+++ b/drivers/pinctrl/spear/pinctrl-spear320.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for the ST Microelectronics SPEAr320 pinmux
  *
  * Copyright (C) 2012 ST Microelectronics
  * Viresh Kumar <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/err.h>
--- a/drivers/pinctrl/spear/pinctrl-spear3xx.c
+++ b/drivers/pinctrl/spear/pinctrl-spear3xx.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for the ST Microelectronics SPEAr3xx pinmux
  *
  * Copyright (C) 2012 ST Microelectronics
  * Viresh Kumar <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/pinctrl/pinctrl.h>
--- a/drivers/pinctrl/spear/pinctrl-spear3xx.h
+++ b/drivers/pinctrl/spear/pinctrl-spear3xx.h
@@ -1,12 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Header file for the ST Microelectronics SPEAr3xx pinmux
  *
  * Copyright (C) 2012 ST Microelectronics
  * Viresh Kumar <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef __PINMUX_SPEAR3XX_H__
--- a/drivers/pinctrl/sunxi/pinctrl-sun4i-a10.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun4i-a10.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner A10 SoCs pinctrl driver.
  *
  * Copyright (C) 2014 Maxime Ripard
  *
  * Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/init.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun50i-a64-r.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun50i-a64-r.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner A64 SoCs special pins pinctrl driver.
  *
@@ -14,10 +15,6 @@
  *
  * Copyright (C) 2014 Maxime Ripard
  * Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/of.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner A64 SoCs pinctrl driver.
  *
@@ -6,10 +7,6 @@
  *
  * Based on pinctrl-sun7i-a20.c, which is:
  * Copyright (C) 2014 Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/module.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun50i-h5.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun50i-h5.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner H5 SoC pinctrl driver.
  *
@@ -9,10 +10,6 @@
  * Based on pinctrl-sun8i-a23.c, which is:
  * Copyright (C) 2014 Chen-Yu Tsai <[email protected]>
  * Copyright (C) 2014 Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/module.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun5i.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun5i.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner sun5i SoCs pinctrl driver.
  *
  * Copyright (C) 2014-2016 Maxime Ripard <[email protected]>
  * Copyright (C) 2016 Mylene Josserand <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/init.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner A31 SoCs special pins pinctrl driver.
  *
@@ -6,10 +7,6 @@
  *
  * Copyright (C) 2014 Maxime Ripard
  * Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/init.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun6i-a31.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun6i-a31.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner A31 SoCs pinctrl driver.
  *
  * Copyright (C) 2014 Maxime Ripard
  *
  * Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/init.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner A23 SoCs special pins pinctrl driver.
  *
@@ -9,10 +10,6 @@
  *
  * Copyright (C) 2014 Maxime Ripard
  * Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/init.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun8i-a23.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-a23.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner A23 SoCs pinctrl driver.
  *
@@ -8,10 +9,6 @@
  * Copyright (C) 2014 Maxime Ripard
  *
  * Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/init.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun8i-a33.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-a33.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner a33 SoCs pinctrl driver.
  *
@@ -6,10 +7,6 @@
  * Based on pinctrl-sun8i-a23.c, which is:
  * Copyright (C) 2014 Chen-Yu Tsai <[email protected]>
  * Copyright (C) 2014 Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/init.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun8i-a83t-r.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-a83t-r.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner A83T SoCs special pins pinctrl driver.
  *
@@ -17,10 +18,6 @@
  *
  * Copyright (C) 2014 Maxime Ripard
  * Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/of.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun8i-a83t.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-a83t.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner a83t SoCs pinctrl driver.
  *
@@ -6,10 +7,6 @@
  * Based on pinctrl-sun8i-a23.c, which is:
  * Copyright (C) 2014 Chen-Yu Tsai <[email protected]>
  * Copyright (C) 2014 Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/init.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun8i-h3-r.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-h3-r.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner H3 SoCs pinctrl driver.
  *
  * Copyright (C) 2016 Krzysztof Adamski <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/module.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner H3 SoCs pinctrl driver.
  *
@@ -6,10 +7,6 @@
  * Based on pinctrl-sun8i-a23.c, which is:
  * Copyright (C) 2014 Chen-Yu Tsai <[email protected]>
  * Copyright (C) 2014 Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/module.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun8i-v3s.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-v3s.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner V3/V3s SoCs pinctrl driver.
  *
@@ -9,10 +10,6 @@
  * Based on pinctrl-sun8i-a23.c, which is:
  * Copyright (C) 2014 Chen-Yu Tsai <[email protected]>
  * Copyright (C) 2014 Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/module.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun9i-a80-r.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun9i-a80-r.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner A80 SoCs special pins pinctrl driver.
  *
  * Copyright (C) 2014 Maxime Ripard
  * Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/init.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sun9i-a80.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun9i-a80.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner A80 SoCs pinctrl driver.
  *
  * Copyright (C) 2014 Maxime Ripard
  *
  * Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/init.h>
--- a/drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c
+++ b/drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner new F-series F1C100s SoC (suniv) pinctrl driver.
  *
@@ -16,10 +17,6 @@
  * Copyright (C) 2014 Maxime Ripard
  *
  * Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/module.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sunxi.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sunxi.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner A1X SoCs pinctrl driver.
  *
  * Copyright (C) 2012 Maxime Ripard
  *
  * Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/io.h>
--- a/drivers/pinctrl/sunxi/pinctrl-sunxi.h
+++ b/drivers/pinctrl/sunxi/pinctrl-sunxi.h
@@ -1,13 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Allwinner A1X SoCs pinctrl driver.
  *
  * Copyright (C) 2012 Maxime Ripard
  *
  * Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef __PINCTRL_SUNXI_H
--- a/drivers/pinctrl/ti/pinctrl-ti-iodelay.c
+++ b/drivers/pinctrl/ti/pinctrl-ti-iodelay.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Support for configuration of IO Delay module found on Texas Instruments SoCs
  * such as DRA7
  *
  * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/err.h>
--- a/drivers/power/reset/at91-poweroff.c
+++ b/drivers/power/reset/at91-poweroff.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Atmel AT91 SAM9 SoCs reset code
  *
  * Copyright (C) 2007 Atmel Corporation.
  * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
  * Copyright (C) 2014 Free Electrons
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/clk.h>
--- a/drivers/power/reset/at91-reset.c
+++ b/drivers/power/reset/at91-reset.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Atmel AT91 SAM9 & SAMA5 SoCs reset code
  *
@@ -5,10 +6,6 @@
  * Copyright (C) BitBox Ltd 2010
  * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
  * Copyright (C) 2014 Free Electrons
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/clk.h>
--- a/drivers/power/reset/at91-sama5d2_shdwc.c
+++ b/drivers/power/reset/at91-sama5d2_shdwc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Atmel SAMA5D2-Compatible Shutdown Controller (SHDWC) driver.
  * Found on some SoCs as the sama5d2 (obviously).
@@ -7,10 +8,6 @@
  *
  * Evolved from driver at91-poweroff.c.
  *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- *
  * TODO:
  * - addition to status of other wake-up inputs [1 - 15]
  * - Analog Comparator wake-up alarm
--- a/drivers/pwm/pwm-berlin.c
+++ b/drivers/pwm/pwm-berlin.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Marvell Berlin PWM driver
  *
  * Copyright (C) 2015 Marvell Technology Group Ltd.
  *
  * Author: Antoine Tenart <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/clk.h>
--- a/drivers/reset/reset-axs10x.c
+++ b/drivers/reset/reset-axs10x.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2017 Synopsys.
  *
  * Synopsys AXS10x reset driver.
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/io.h>
--- a/drivers/reset/reset-hsdk.c
+++ b/drivers/reset/reset-hsdk.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2017 Synopsys.
  *
  * Synopsys HSDK Development platform reset driver.
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/delay.h>
--- a/drivers/video/fbdev/ocfb.c
+++ b/drivers/video/fbdev/ocfb.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OpenCores VGA/LCD 2.0 core frame buffer driver
  *
  * Copyright (C) 2013 Stefan Kristiansson, [email protected]
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <linux/delay.h>
--- a/drivers/virt/fsl_hypervisor.c
+++ b/drivers/virt/fsl_hypervisor.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Freescale Hypervisor Management Driver
 
  * Copyright (C) 2008-2011 Freescale Semiconductor, Inc.
  * Author: Timur Tabi <[email protected]>
  *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
- *
  * The Freescale hypervisor management driver provides several services to
  * drivers and applications related to the Freescale hypervisor:
  *
--- a/drivers/watchdog/max63xx_wdt.c
+++ b/drivers/watchdog/max63xx_wdt.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * drivers/char/watchdog/max63xx_wdt.c
  *
@@ -5,10 +6,6 @@
  *
  * Copyright (C) 2009 Marc Zyngier <[email protected]>
  *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- *
  * This driver assumes the watchdog pins are memory mapped (as it is
  * the case for the Arcom Zeus). Should it be connected over GPIOs or
  * another interface, some abstraction will have to be introduced.
--- a/drivers/watchdog/orion_wdt.c
+++ b/drivers/watchdog/orion_wdt.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * drivers/watchdog/orion_wdt.c
  *
  * Watchdog driver for Orion/Kirkwood processors
  *
  * Author: Sylver Bruneau <[email protected]>
- *
- * This file is licensed under  the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
--- a/drivers/watchdog/ts4800_wdt.c
+++ b/drivers/watchdog/ts4800_wdt.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Watchdog driver for TS-4800 based boards
  *
  * Copyright (c) 2015 - Savoir-faire Linux
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/kernel.h>
--- a/include/dt-bindings/leds/leds-netxbig.h
+++ b/include/dt-bindings/leds/leds-netxbig.h
@@ -1,10 +1,5 @@
-/*
- * This header provides constants for netxbig LED bindings.
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* This header provides constants for netxbig LED bindings. */
 
 #ifndef _DT_BINDINGS_LEDS_NETXBIG_H
 #define _DT_BINDINGS_LEDS_NETXBIG_H
--- a/include/dt-bindings/leds/leds-pca9532.h
+++ b/include/dt-bindings/leds/leds-pca9532.h
@@ -1,10 +1,5 @@
-/*
- * This header provides constants for pca9532 LED bindings.
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* This header provides constants for pca9532 LED bindings. */
 
 #ifndef _DT_BINDINGS_LEDS_PCA9532_H
 #define _DT_BINDINGS_LEDS_PCA9532_H
--- a/include/dt-bindings/leds/leds-pca955x.h
+++ b/include/dt-bindings/leds/leds-pca955x.h
@@ -1,10 +1,5 @@
-/*
- * This header provides constants for pca955x LED bindings.
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* This header provides constants for pca955x LED bindings. */
 
 #ifndef _DT_BINDINGS_LEDS_PCA955X_H
 #define _DT_BINDINGS_LEDS_PCA955X_H
--- a/include/linux/amba/sp810.h
+++ b/include/linux/amba/sp810.h
@@ -1,12 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * ARM PrimeXsys System Controller SP810 header file
  *
  * Copyright (C) 2009 ST Microelectronics
  * Viresh Kumar <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef __AMBA_SP810_H
--- a/include/linux/davinci_emac.h
+++ b/include/linux/davinci_emac.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * TI DaVinci EMAC platform support
  *
  * Author: Kevin Hilman, Deep Root Systems, LLC
  *
- * 2007 (c) Deep Root Systems, LLC. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2007 (c) Deep Root Systems, LLC.
  */
 #ifndef _LINUX_DAVINCI_EMAC_H
 #define _LINUX_DAVINCI_EMAC_H
--- a/include/linux/dmapool.h
+++ b/include/linux/dmapool.h
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * include/linux/dmapool.h
  *
  * Allocation pools for DMAable (coherent) memory.
- *
- * This file is licensed under  the terms of the GNU General Public 
- * License version 2. This program is licensed "as is" without any 
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef LINUX_DMAPOOL_H
@@ -56,4 +53,3 @@ static inline void *dma_pool_zalloc(stru
 }
 
 #endif
-
--- a/include/linux/edac.h
+++ b/include/linux/edac.h
@@ -1,13 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Generic EDAC defs
  *
  * Author: Dave Jiang <[email protected]>
  *
- * 2006-2008 (c) MontaVista Software, Inc. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
- *
+ * 2006-2008 (c) MontaVista Software, Inc.
  */
 #ifndef _LINUX_EDAC_H_
 #define _LINUX_EDAC_H_
--- a/include/linux/fs_enet_pd.h
+++ b/include/linux/fs_enet_pd.h
@@ -1,16 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Platform information definitions for the
  * universal Freescale Ethernet driver.
  *
- * Copyright (c) 2003 Intracom S.A. 
+ * Copyright (c) 2003 Intracom S.A.
  *  by Pantelis Antoniou <[email protected]>
  *
- * 2005 (c) MontaVista Software, Inc. 
+ * 2005 (c) MontaVista Software, Inc.
  * Vitaly Bordug <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License 
- * version 2. This program is licensed "as is" without any warranty of any 
- * kind, whether express or implied.
  */
 
 #ifndef FS_ENET_PD_H
--- a/include/linux/fs_uart_pd.h
+++ b/include/linux/fs_uart_pd.h
@@ -1,12 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Platform information definitions for the CPM Uart driver.
  *
  * 2006 (c) MontaVista Software, Inc.
  * Vitaly Bordug <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #ifndef FS_UART_PD_H
--- a/include/linux/fsl/bestcomm/ata.h
+++ b/include/linux/fsl/bestcomm/ata.h
@@ -1,13 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Header for Bestcomm ATA task driver
  *
- *
  * Copyright (C) 2006 Freescale - John Rigby
  * Copyright (C) 2006 Sylvain Munaut <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #ifndef __BESTCOMM_ATA_H__
@@ -27,4 +23,3 @@ extern void bcom_ata_reset_bd(struct bco
 extern void bcom_ata_release(struct bcom_task *tsk);
 
 #endif /* __BESTCOMM_ATA_H__ */
-
--- a/include/linux/fsl/bestcomm/bestcomm.h
+++ b/include/linux/fsl/bestcomm/bestcomm.h
@@ -1,16 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Public header for the MPC52xx processor BestComm driver
  *
- *
  * Copyright (C) 2006      Sylvain Munaut <[email protected]>
  * Copyright (C) 2005      Varma Electronics Oy,
  *                         ( by Andrey Volkov <[email protected]> )
  * Copyright (C) 2003-2004 MontaVista, Software, Inc.
  *                         ( by Dale Farnsworth <[email protected]> )
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #ifndef __BESTCOMM_H__
--- a/include/linux/fsl/bestcomm/bestcomm_priv.h
+++ b/include/linux/fsl/bestcomm/bestcomm_priv.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Private header for the MPC52xx processor BestComm driver
  *
@@ -10,10 +11,6 @@
  *                         ( by Andrey Volkov <[email protected]> )
  * Copyright (C) 2003-2004 MontaVista, Software, Inc.
  *                         ( by Dale Farnsworth <[email protected]> )
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #ifndef __BESTCOMM_PRIV_H__
@@ -347,4 +344,3 @@ bcom_set_tcr_initiator(int task, int ini
 
 
 #endif /* __BESTCOMM_PRIV_H__ */
-
--- a/include/linux/fsl/bestcomm/fec.h
+++ b/include/linux/fsl/bestcomm/fec.h
@@ -1,14 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Header for Bestcomm FEC tasks driver
  *
- *
  * Copyright (C) 2006-2007 Sylvain Munaut <[email protected]>
  * Copyright (C) 2003-2004 MontaVista, Software, Inc.
  *                         ( by Dale Farnsworth <[email protected]> )
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #ifndef __BESTCOMM_FEC_H__
@@ -58,4 +54,3 @@ bcom_fec_tx_release(struct bcom_task *ts
 
 
 #endif /* __BESTCOMM_FEC_H__ */
-
--- a/include/linux/fsl/bestcomm/sram.h
+++ b/include/linux/fsl/bestcomm/sram.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Handling of a sram zone for bestcomm
  *
- *
  * Copyright (C) 2007 Sylvain Munaut <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #ifndef __BESTCOMM_SRAM_H__
@@ -51,4 +47,3 @@ static inline void *bcom_sram_pa2va(phys
 
 
 #endif  /* __BESTCOMM_SRAM_H__ */
-
--- a/include/linux/irqchip.h
+++ b/include/linux/irqchip.h
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2012 Thomas Petazzoni
  *
  * Thomas Petazzoni <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef _LINUX_IRQCHIP_H
--- a/include/linux/kgdb.h
+++ b/include/linux/kgdb.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * This provides the callbacks and functions that KGDB needs to share between
  * the core, I/O and arch-specific portions.
@@ -6,9 +7,6 @@
  *         Tom Rini <[email protected]>
  *
  * 2001-2004 (c) Amit S. Kale and 2003-2005 (c) MontaVista Software, Inc.
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 #ifndef _KGDB_H_
 #define _KGDB_H_
--- a/include/linux/mbus.h
+++ b/include/linux/mbus.h
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Marvell MBUS common definitions.
  *
  * Copyright (C) 2008 Marvell Semiconductor
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef __LINUX_MBUS_H
--- a/include/linux/mtd/spear_smi.h
+++ b/include/linux/mtd/spear_smi.h
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright © 2010 ST Microelectronics
  * Shiraz Hashim <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef __MTD_SPEAR_SMI_H
--- a/include/linux/mvebu-pmsu.h
+++ b/include/linux/mvebu-pmsu.h
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2012 Marvell
  *
  * Thomas Petazzoni <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef __MVEBU_PMSU_H__
--- a/include/linux/pata_arasan_cf_data.h
+++ b/include/linux/pata_arasan_cf_data.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * include/linux/pata_arasan_cf_data.h
  *
@@ -5,10 +6,6 @@
  *
  * Copyright (C) 2011 ST Microelectronics
  * Viresh Kumar <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef _PATA_ARASAN_CF_DATA_H
--- a/include/linux/platform_data/i2c-davinci.h
+++ b/include/linux/platform_data/i2c-davinci.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * DaVinci I2C controller platform_device info
  *
  * Author: Vladimir Barinov, MontaVista Software, Inc. <[email protected]>
  *
- * 2007 (c) MontaVista Software, Inc. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2007 (c) MontaVista Software, Inc.
 */
 
 #ifndef __ASM_ARCH_I2C_H
--- a/include/linux/platform_data/keyboard-spear.h
+++ b/include/linux/platform_data/keyboard-spear.h
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2010 ST Microelectronics
  * Rajeev Kumar <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef __PLAT_KEYBOARD_H
--- a/include/linux/platform_data/media/si4713.h
+++ b/include/linux/platform_data/media/si4713.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * include/linux/platform_data/media/si4713.h
  *
@@ -5,11 +6,6 @@
  *
  * Copyright (c) 2009 Nokia Corporation
  * Contact: Eduardo Valentin <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
- *
  */
 
 #ifndef SI4713_H
--- a/include/linux/platform_data/mtd-davinci-aemif.h
+++ b/include/linux/platform_data/mtd-davinci-aemif.h
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * TI DaVinci AEMIF support
  *
  * Copyright 2010 (C) Texas Instruments, Inc. https://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 #ifndef _MACH_DAVINCI_AEMIF_H
 #define _MACH_DAVINCI_AEMIF_H
--- a/include/linux/platform_data/mtd-orion_nand.h
+++ b/include/linux/platform_data/mtd-orion_nand.h
@@ -1,8 +1,4 @@
-/*
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #ifndef __MTD_ORION_NAND_H
 #define __MTD_ORION_NAND_H
--- a/include/linux/platform_data/usb-davinci.h
+++ b/include/linux/platform_data/usb-davinci.h
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * USB related definitions
  *
  * Copyright (C) 2009 MontaVista Software, Inc. <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #ifndef __ASM_ARCH_USB_H
--- a/include/linux/platform_data/usb-ehci-orion.h
+++ b/include/linux/platform_data/usb-ehci-orion.h
@@ -1,8 +1,4 @@
-/*
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #ifndef __USB_EHCI_ORION_H
 #define __USB_EHCI_ORION_H
--- a/include/linux/soc/sunxi/sunxi_sram.h
+++ b/include/linux/soc/sunxi/sunxi_sram.h
@@ -1,13 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Allwinner SoCs SRAM Controller Driver
  *
  * Copyright (C) 2015 Maxime Ripard
  *
  * Author: Maxime Ripard <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef _SUNXI_SRAM_H_
--- a/include/linux/sunxi-rsb.h
+++ b/include/linux/sunxi-rsb.h
@@ -1,13 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Allwinner Reduced Serial Bus Driver
  *
  * Copyright (c) 2015 Chen-Yu Tsai
  *
  * Author: Chen-Yu Tsai <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 #ifndef _SUNXI_RSB_H
 #define _SUNXI_RSB_H
--- a/include/linux/ts-nbus.h
+++ b/include/linux/ts-nbus.h
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (c) 2016 - Savoir-faire Linux
  * Author: Sebastien Bourdelin <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef _TS_NBUS_H
--- a/include/video/da8xx-fb.h
+++ b/include/video/da8xx-fb.h
@@ -1,12 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Header file for TI DA8XX LCD controller platform data.
  *
  * Copyright (C) 2008-2009 MontaVista Software Inc.
  * Copyright (C) 2008-2009 Texas Instruments Inc
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #ifndef DA8XX_FB_H
@@ -91,4 +88,3 @@ struct lcd_sync_arg {
 #define FB_SYNC_CLK_INVERT 0x40000000
 
 #endif  /* ifndef DA8XX_FB_H */
-
--- a/kernel/debug/debug_core.h
+++ b/kernel/debug/debug_core.h
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Created by: Jason Wessel <[email protected]>
  *
  * Copyright (c) 2009 Wind River Systems, Inc.  All Rights Reserved.
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #ifndef _DEBUG_CORE_H_
--- a/kernel/debug/kdb/kdb_debugger.c
+++ b/kernel/debug/kdb/kdb_debugger.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Created by: Jason Wessel <[email protected]>
  *
  * Copyright (c) 2009 Wind River Systems, Inc.  All Rights Reserved.
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/kgdb.h>
--- a/sound/soc/codecs/cs42xx8.h
+++ b/sound/soc/codecs/cs42xx8.h
@@ -1,13 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * cs42xx8.h - Cirrus Logic CS42448/CS42888 Audio CODEC driver header file
  *
  * Copyright (C) 2014 Freescale Semiconductor, Inc.
  *
  * Author: Nicolin Chen <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #ifndef _CS42XX8_H
--- a/sound/soc/dwc/dwc-pcm.c
+++ b/sound/soc/dwc/dwc-pcm.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ALSA SoC Synopsys PIO PCM for I2S driver
  *
@@ -5,10 +6,6 @@
  *
  * Copyright (C) 2016 Synopsys
  * Jose Abreu <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/io.h>
--- a/sound/soc/dwc/local.h
+++ b/sound/soc/dwc/local.h
@@ -1,10 +1,5 @@
-/*
- * Copyright (ST) 2012 Rajeev Kumar ([email protected])
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* Copyright (ST) 2012 Rajeev Kumar ([email protected]) */
 
 #ifndef __DESIGNWARE_LOCAL_H
 #define __DESIGNWARE_LOCAL_H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.