Skip to contentSkip to conversation

The first batch of various GPLv2 boilerplates and references

PATCH In review Thomas Gleixner 3 participants 36 messages Jun 7, 2022 Page 2 of 2

Subsystems (141)
lore
Share & tools
lore
#26 lore raw

PATCH v2 22/24 treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_391.RULE

In reply to Thomas Gleixner

Based on the normalized pattern:

this software file (the file ) is distributed by nxp under the terms of the gnu general public license version 2 june 1991 (the license ) you may use redistribute and/or modify this file in accordance with the terms and conditions of the license a copy of which is available by writing to the free software foundation inc 51 franklin street fifth floor boston ma 02110-1301 usa or on the worldwide web at
http://www gnu org/licenses/old-licenses/gpl-2 0 txt the file is distributed as-is without warranty of any kind and the implied warranties of merchantability or fitness for a particular purpose are expressly disclaimed the license provides additional details about this warranty disclaimer

extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

has been chosen to replace the boilerplate/reference.

---
 drivers/net/wireless/marvell/mwifiex/11ac.c          |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/11ac.h          |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/11h.c           |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/11n.c           |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/11n.h           |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/11n_aggr.c      |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/11n_aggr.h      |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.h |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/Makefile        |   13 +------------
 drivers/net/wireless/marvell/mwifiex/cfg80211.c      |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/cfg80211.h      |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/cfp.c           |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/cmdevt.c        |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/debugfs.c       |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/decl.h          |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/ethtool.c       |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/fw.h            |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/ie.c            |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/init.c          |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/ioctl.h         |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/join.c          |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/main.c          |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/main.h          |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/pcie.c          |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/pcie.h          |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/pcie_quirks.c   |   18 ++----------------
 drivers/net/wireless/marvell/mwifiex/pcie_quirks.h   |   18 ++----------------
 drivers/net/wireless/marvell/mwifiex/scan.c          |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/sdio.c          |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/sdio.h          |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/sta_cmd.c       |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c   |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/sta_event.c     |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c     |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/sta_rx.c        |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/sta_tx.c        |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/txrx.c          |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/uap_cmd.c       |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/uap_event.c     |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/uap_txrx.c      |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/usb.c           |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/usb.h           |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/util.c          |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/util.h          |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/wmm.c           |   14 +-------------
 drivers/net/wireless/marvell/mwifiex/wmm.h           |   14 +-------------
 47 files changed, 49 insertions(+), 616 deletions(-)
drivers/net/wireless/marvell/mwifiex/11ac.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: 802.11ac
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/11ac.h +1 -13
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * NXP Wireless LAN device driver: 802.11ac
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #ifndef _MWIFIEX_11AC_H_
drivers/net/wireless/marvell/mwifiex/11h.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: 802.11h
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "main.h"
drivers/net/wireless/marvell/mwifiex/11n.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: 802.11n
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/11n.h +1 -13
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * NXP Wireless LAN device driver: 802.11n
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #ifndef _MWIFIEX_11N_H_
drivers/net/wireless/marvell/mwifiex/11n_aggr.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: 802.11n Aggregation
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/11n_aggr.h +1 -13
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * NXP Wireless LAN device driver: 802.11n Aggregation
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #ifndef _MWIFIEX_11N_AGGR_H_
drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: 802.11n RX Re-ordering
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/11n_rxreorder.h +1 -13
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * NXP Wireless LAN device driver: 802.11n RX Re-ordering
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #ifndef _MWIFIEX_11N_RXREORDER_H_
drivers/net/wireless/marvell/mwifiex/Makefile +1 -12
@@ -1,18 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Copyright 2011-2020 NXP
 #
-# This software file (the "File") is distributed by NXP
-# under the terms of the GNU General Public License Version 2, June 1991
-# (the "License").  You may use, redistribute and/or modify this File in
-# accordance with the terms and conditions of the License, a copy of which
-# is available by writing to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
-# worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
-#
-# THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
-# ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
-# this warranty disclaimer.
 
 
 mwifiex-y += main.o
drivers/net/wireless/marvell/mwifiex/cfg80211.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: CFG80211
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "cfg80211.h"
drivers/net/wireless/marvell/mwifiex/cfg80211.h +1 -13
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * NXP Wireless LAN device driver: CFG80211
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #ifndef __MWIFIEX_CFG80211__
drivers/net/wireless/marvell/mwifiex/cfp.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: Channel, Frequence and Power
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/cmdevt.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: commands and events
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include <asm/unaligned.h>
drivers/net/wireless/marvell/mwifiex/debugfs.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: debugfs
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include <linux/debugfs.h>
drivers/net/wireless/marvell/mwifiex/decl.h +1 -13
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * NXP Wireless LAN device driver: generic data structures and APIs
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #ifndef _MWIFIEX_DECL_H_
drivers/net/wireless/marvell/mwifiex/ethtool.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: ethtool
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "main.h"
drivers/net/wireless/marvell/mwifiex/fw.h +1 -13
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * NXP Wireless LAN device driver: Firmware specific macros & structures
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #ifndef _MWIFIEX_FW_H_
drivers/net/wireless/marvell/mwifiex/ie.c +1 -13
@@ -1,21 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: management IE handling- setting and
  * deleting IE.
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "main.h"
drivers/net/wireless/marvell/mwifiex/init.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: HW/FW Initialization
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/ioctl.h +1 -13
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * NXP Wireless LAN device driver: ioctl data structures & APIs
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #ifndef _MWIFIEX_IOCTL_H_
drivers/net/wireless/marvell/mwifiex/join.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: association and ad-hoc start/join
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/main.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: major functions
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include <linux/suspend.h>
drivers/net/wireless/marvell/mwifiex/main.h +1 -13
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * NXP Wireless LAN device driver: major data structures and prototypes
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #ifndef _MWIFIEX_MAIN_H_
drivers/net/wireless/marvell/mwifiex/pcie.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: PCIE specific handling
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include <linux/iopoll.h>
drivers/net/wireless/marvell/mwifiex/pcie.h +1 -13
@@ -1,22 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* @file mwifiex_pcie.h
  *
  * @brief This file contains definitions for PCI-E interface.
  * driver.
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #ifndef	_MWIFIEX_PCIE_H
drivers/net/wireless/marvell/mwifiex/pcie_quirks.c +2 -16
@@ -1,19 +1,5 @@
-/*
- * NXP Wireless LAN device driver: PCIE and platform specific quirks
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
- */
+// SPDX-License-Identifier: GPL-2.0-only
+// NXP Wireless LAN device driver: PCIE and platform specific quirks
 
 #include <linux/dmi.h>
 
drivers/net/wireless/marvell/mwifiex/pcie_quirks.h +2 -16
@@ -1,19 +1,5 @@
-/*
- * NXP Wireless LAN device driver: PCIE and platform specific quirks
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* NXP Wireless LAN device driver: PCIE and platform specific quirks */
 
 #include "pcie.h"
 
drivers/net/wireless/marvell/mwifiex/scan.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: scan ioctl and command handling
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/sdio.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: SDIO specific handling
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include <linux/firmware.h>
drivers/net/wireless/marvell/mwifiex/sdio.h +1 -13
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * NXP Wireless LAN device driver: SDIO specific definitions
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #ifndef	_MWIFIEX_SDIO_H
drivers/net/wireless/marvell/mwifiex/sta_cmd.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: station command handling
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: station command response handling
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/sta_event.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: station event handling
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/sta_ioctl.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: functions for station ioctl
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/sta_rx.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: station RX data handling
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include <uapi/linux/ipv6.h>
drivers/net/wireless/marvell/mwifiex/sta_tx.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: station TX data handling
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/txrx.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: generic TX/RX data handling
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/uap_cmd.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: AP specific command handling
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "main.h"
drivers/net/wireless/marvell/mwifiex/uap_event.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: AP event handling
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/uap_txrx.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: AP TX and RX data handling
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/usb.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: USB specific handling
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "main.h"
drivers/net/wireless/marvell/mwifiex/usb.h +1 -13
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * This file contains definitions for mwifiex USB interface driver.
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #ifndef _MWIFIEX_USB_H
drivers/net/wireless/marvell/mwifiex/util.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: utility functions
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/util.h +1 -13
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * NXP Wireless LAN device driver: utility functions
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #ifndef _MWIFIEX_UTIL_H_
drivers/net/wireless/marvell/mwifiex/wmm.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * NXP Wireless LAN device driver: WMM
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #include "decl.h"
drivers/net/wireless/marvell/mwifiex/wmm.h +1 -13
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * NXP Wireless LAN device driver: WMM
  *
  * Copyright 2011-2020 NXP
- *
- * This software file (the "File") is distributed by NXP
- * under the terms of the GNU General Public License Version 2, June 1991
- * (the "License").  You may use, redistribute and/or modify this File in
- * accordance with the terms and conditions of the License, a copy of which
- * is available by writing to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
- * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
- *
- * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
- * ARE EXPRESSLY DISCLAIMED.  The License provides additional details about
- * this warranty disclaimer.
  */
 
 #ifndef _MWIFIEX_WMM_H_
#27 lore raw

PATCH v2 23/24 treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_398.RULE

In reply to Thomas Gleixner

Based on the normalized pattern:

this file is licensed under the terms of the gnu general public license version 2 this program as 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.

---
 arch/powerpc/kernel/kgdb.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
arch/powerpc/kernel/kgdb.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * PowerPC backend to the KGDB stub.
  *
@@ -8,10 +9,6 @@
  * PPC32 support restored by Vitaly Wool <[email protected]> and
  * Sergei Shtylyov <[email protected]>
  * Copyright (C) 2007-2008 Wind River Systems, Inc.
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program as licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <linux/kernel.h>
#28 lore raw
In reply to Thomas Gleixner
Quoted 2 lines · Thomas Gleixner

- Collected Reviewed-by tags as appropriate. Thanks Allison!

Thanks for rolling those in, made the re-review simpler.

Quoted 2 lines

- Split the v1 patches 3, 4 and 10 into parts so they fit into the size limit of the mailing list. Those are now patches 2-6 and 12-13

We might still have a size limit problem, I received the v2 patches 2-4 and 12-13, but not 5-6.

Can we increase the size limit for the list?

Allison

#29 lore raw
Quoted 11 lines · Allison Randal
Quoted 2 lines · Thomas Gleixner

- Collected Reviewed-by tags as appropriate. Thanks Allison!

Thanks for rolling those in, made the re-review simpler.

Quoted 2 lines

- Split the v1 patches 3, 4 and 10 into parts so they fit into the size limit of the mailing list. Those are now patches 2-6 and 12-13

We might still have a size limit problem, I received the v2 patches 2-4 and 12-13, but not 5-6.

Dammit.

Quoted 1 line

Can we increase the size limit for the list?

Let me ask.

Thanks,

tglx

#30 lore raw
In reply to Thomas Gleixner
Quoted 3 lines · Thomas Gleixner

Folks!

This is version 2 of the first batch. Changes to version 1:

ah, so should ignore the previous set with the subject line beginning with "Batch 1 - . . . " and only respond to the following set with the subject line beginning with "V2 . . ."?

Quoted 15 lines

- Dropped the patches which were identified by Richard as problematic

- Collected Reviewed-by tags as appropriate. Thanks Allison!

- Split the v1 patches 3, 4 and 10 into parts so they fit into the size limit of the mailing list. Those are now patches 2-6 and 12-13

The series is also available from git:

     git://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git 2022-batch1

Thanks,

tglx

#31 lore raw
Quoted 5 lines · J Lovejoy
Quoted 1 line · Thomas Gleixner

This is version 2 of the first batch. Changes to version 1:

ah, so should ignore the previous set with the subject line beginning with "Batch 1 - . . . " and only respond to the following set with the subject line beginning with "V2 . . ."?

Yes please. The only interesting things in V1 which are not in V2 are the problematic disclaimers which got flagged by Richard.

Thanks,

tglx

#32 lore raw

PATCH v2 1/1 treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_56.RULE (part 4)

In reply to Thomas Gleixner

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.

---
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(-)
drivers/net/ethernet/allwinner/sun4i-emac.h +1 -4
@@ -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_
drivers/net/ethernet/freescale/fec_mpc52xx.h +2 -4
@@ -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__
drivers/net/ethernet/freescale/fs_enet/mac-fcc.c +1 -4
@@ -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>
drivers/net/ethernet/freescale/fs_enet/mac-fec.c +1 -5
@@ -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,
 };
-
drivers/net/ethernet/freescale/fs_enet/mac-scc.c +1 -4
@@ -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>
drivers/net/ethernet/freescale/xgmac_mdio.c +1 -4
@@ -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>
drivers/net/ethernet/marvell/mvneta_bm.c +1 -4
@@ -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>
drivers/net/ethernet/marvell/mvneta_bm.h +1 -4
@@ -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_
drivers/net/ethernet/moxa/moxart_ether.c +1 -4
@@ -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>
drivers/net/ethernet/moxa/moxart_ether.h +1 -4
@@ -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
drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c +1 -4
@@ -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>
drivers/net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c +1 -4
@@ -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>
drivers/net/usb/sr9800.h +1 -4
@@ -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
drivers/pinctrl/pinctrl-artpec6.c +1 -4
@@ -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>
drivers/pinctrl/pinctrl-lpc18xx.c +1 -4
@@ -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>
drivers/pinctrl/pinctrl-single.c +1 -4
@@ -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>
drivers/pinctrl/spear/pinctrl-plgpio.c +1 -4
@@ -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>
drivers/pinctrl/spear/pinctrl-spear.c +1 -4
@@ -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>
drivers/pinctrl/spear/pinctrl-spear.h +1 -4
@@ -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__
drivers/pinctrl/spear/pinctrl-spear1310.c +1 -4
@@ -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>
drivers/pinctrl/spear/pinctrl-spear1340.c +1 -4
@@ -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>
drivers/pinctrl/spear/pinctrl-spear300.c +1 -4
@@ -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>
drivers/pinctrl/spear/pinctrl-spear310.c +1 -4
@@ -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>
drivers/pinctrl/spear/pinctrl-spear320.c +1 -4
@@ -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>
drivers/pinctrl/spear/pinctrl-spear3xx.c +1 -4
@@ -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>
drivers/pinctrl/spear/pinctrl-spear3xx.h +1 -4
@@ -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__
drivers/pinctrl/sunxi/pinctrl-sun4i-a10.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun50i-a64-r.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun50i-h5.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun5i.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun6i-a31.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun8i-a23.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun8i-a33.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun8i-a83t-r.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun8i-a83t.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun8i-h3-r.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun8i-v3s.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun9i-a80-r.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sun9i-a80.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-suniv-f1c100s.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sunxi.c +1 -4
@@ -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>
drivers/pinctrl/sunxi/pinctrl-sunxi.h +1 -4
@@ -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
drivers/pinctrl/ti/pinctrl-ti-iodelay.c +1 -4
@@ -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>
drivers/power/reset/at91-poweroff.c +1 -4
@@ -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>
drivers/power/reset/at91-reset.c +1 -4
@@ -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>
drivers/power/reset/at91-sama5d2_shdwc.c +1 -4
@@ -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
drivers/pwm/pwm-berlin.c +1 -4
@@ -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>
drivers/reset/reset-axs10x.c +1 -4
@@ -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>
drivers/reset/reset-hsdk.c +1 -4
@@ -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>
drivers/video/fbdev/ocfb.c +1 -4
@@ -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>
drivers/virt/fsl_hypervisor.c +1 -4
@@ -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:
  *
drivers/watchdog/max63xx_wdt.c +1 -4
@@ -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.
drivers/watchdog/orion_wdt.c +1 -4
@@ -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
drivers/watchdog/ts4800_wdt.c +1 -4
@@ -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>
include/dt-bindings/leds/leds-netxbig.h +2 -7
@@ -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
include/dt-bindings/leds/leds-pca9532.h +2 -7
@@ -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
include/dt-bindings/leds/leds-pca955x.h +2 -7
@@ -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
include/linux/amba/sp810.h +1 -4
@@ -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
include/linux/davinci_emac.h +2 -4
@@ -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
include/linux/dmapool.h +1 -5
@@ -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
-
include/linux/edac.h +2 -5
@@ -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_
include/linux/fs_enet_pd.h +3 -6
@@ -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
include/linux/fs_uart_pd.h +1 -4
@@ -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
include/linux/fsl/bestcomm/ata.h +1 -6
@@ -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__ */
-
include/linux/fsl/bestcomm/bestcomm.h +1 -5
@@ -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__
include/linux/fsl/bestcomm/bestcomm_priv.h +1 -5
@@ -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__ */
-
include/linux/fsl/bestcomm/fec.h +1 -6
@@ -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__ */
-
include/linux/fsl/bestcomm/sram.h +1 -6
@@ -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__ */
-
include/linux/irqchip.h +1 -4
@@ -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
include/linux/kgdb.h +1 -3
@@ -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_
include/linux/mbus.h +1 -4
@@ -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
include/linux/mtd/spear_smi.h +1 -4
@@ -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
include/linux/mvebu-pmsu.h +1 -4
@@ -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__
include/linux/pata_arasan_cf_data.h +1 -4
@@ -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
include/linux/platform_data/i2c-davinci.h +2 -4
@@ -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
include/linux/platform_data/keyboard-spear.h +1 -4
@@ -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
include/linux/platform_data/media/si4713.h +1 -5
@@ -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
include/linux/platform_data/mtd-davinci-aemif.h +1 -4
@@ -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
include/linux/platform_data/mtd-orion_nand.h +1 -5
@@ -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
include/linux/platform_data/usb-davinci.h +1 -4
@@ -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
include/linux/platform_data/usb-ehci-orion.h +1 -5
@@ -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
include/linux/soc/sunxi/sunxi_sram.h +1 -4
@@ -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_
include/linux/sunxi-rsb.h +1 -4
@@ -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
include/linux/ts-nbus.h +1 -4
@@ -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
include/video/da8xx-fb.h +1 -5
@@ -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 */
-
kernel/debug/debug_core.h +1 -4
@@ -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_
kernel/debug/kdb/kdb_debugger.c +1 -4
@@ -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>
sound/soc/codecs/cs42xx8.h +1 -4
@@ -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
sound/soc/dwc/dwc-pcm.c +1 -4
@@ -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>
sound/soc/dwc/local.h +2 -7
@@ -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
#33 lore raw

PATCH v2 24/24 treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_406.RULE

In reply to Thomas Gleixner

Based on the normalized pattern:

this file is licensed under the term of the gnu general public license version 2 the program 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.

---
 drivers/dma/ppc4xx/dma.h |    5 +----
 drivers/dma/ppc4xx/xor.h |    5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)
drivers/dma/ppc4xx/dma.h +1 -4
@@ -1,13 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * 440SPe's DMA engines support header file
  *
  * 2006-2009 (C) DENX Software Engineering.
  *
  * Author: Yuri Tikhonov <[email protected]>
- *
- * This file is licensed under the term of  the GNU General Public License
- * version 2. The program licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #ifndef	_PPC440SPE_DMA_H
drivers/dma/ppc4xx/xor.h +1 -4
@@ -1,13 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * 440SPe's XOR engines support header file
  *
  * 2006-2009 (C) DENX Software Engineering.
  *
  * Author: Yuri Tikhonov <[email protected]>
- *
- * This file is licensed under the term of  the GNU General Public License
- * version 2. The program licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #ifndef _PPC440SPE_XOR_H
#34 lore raw

PATCH v2 1/1 treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_56.RULE (part 3)

In reply to Thomas Gleixner

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.

---
V2: Split to overcome list size limits

---
 arch/arm/plat-orion/common.c                  |    5 +----
 arch/arm/plat-orion/gpio.c                    |    5 +----
 arch/arm/plat-orion/include/plat/addr-map.h   |    5 +----
 arch/arm/plat-orion/include/plat/common.h     |    5 +----
 arch/arm/plat-orion/include/plat/irq.h        |    5 +----
 arch/arm/plat-orion/include/plat/mpp.h        |    5 +----
 arch/arm/plat-orion/include/plat/orion-gpio.h |    5 +----
 arch/arm/plat-orion/include/plat/pcie.h       |    5 +----
 arch/arm/plat-orion/include/plat/time.h       |    5 +----
 arch/arm/plat-orion/irq.c                     |    5 +----
 arch/arm/plat-orion/mpp.c                     |    5 +----
 arch/arm/plat-orion/pcie.c                    |    5 +----
 arch/arm/plat-orion/time.c                    |    5 +----
 arch/microblaze/pci/xilinx_pci.c              |    5 +----
 arch/mips/alchemy/common/platform.c           |    5 +----
 arch/mips/include/asm/txx9/smsc_fdc37m81x.h   |    6 ++----
 arch/mips/include/asm/txx9/tx4938.h           |    6 ++----
 arch/mips/kernel/kgdb.c                       |    5 +----
 arch/mips/txx9/generic/irq_tx4938.c           |    6 ++----
 arch/mips/txx9/generic/smsc_fdc37m81x.c       |    6 ++----
 arch/openrisc/include/asm/atomic.h            |    9 ++-------
 arch/openrisc/include/asm/bitops/atomic.h     |    9 ++-------
 arch/openrisc/include/asm/cmpxchg.h           |    5 +----
 arch/openrisc/include/asm/smp.h               |    9 ++-------
 arch/openrisc/include/asm/unwinder.h          |    5 +----
 arch/openrisc/kernel/smp.c                    |    5 +----
 arch/openrisc/kernel/stacktrace.c             |    5 +----
 arch/openrisc/kernel/unwinder.c               |    6 +-----
 arch/powerpc/boot/44x.h                       |    5 +----
 arch/powerpc/boot/4xx.h                       |    5 +----
 arch/powerpc/boot/dts/acadia.dts              |    5 +----
 arch/powerpc/boot/dts/akebono.dts             |    5 +----
 arch/powerpc/boot/dts/bamboo.dts              |    5 +----
 arch/powerpc/boot/dts/canyonlands.dts         |    5 +----
 arch/powerpc/boot/dts/currituck.dts           |    5 +----
 arch/powerpc/boot/dts/ebony.dts               |    5 +----
 arch/powerpc/boot/dts/eiger.dts               |    5 +----
 arch/powerpc/boot/dts/fsp2.dts                |    5 +----
 arch/powerpc/boot/dts/glacier.dts             |    5 +----
 arch/powerpc/boot/dts/haleakala.dts           |    5 +----
 arch/powerpc/boot/dts/holly.dts               |    5 +----
 arch/powerpc/boot/dts/hotfoot.dts             |    5 +----
 arch/powerpc/boot/dts/icon.dts                |    5 +----
 arch/powerpc/boot/dts/iss4xx-mpic.dts         |    5 +----
 arch/powerpc/boot/dts/iss4xx.dts              |    5 +----
 arch/powerpc/boot/dts/katmai.dts              |    5 +----
 arch/powerpc/boot/dts/kilauea.dts             |    5 +----
 arch/powerpc/boot/dts/ksi8560.dts             |    7 ++-----
 arch/powerpc/boot/dts/kuroboxHD.dts           |    5 +----
 arch/powerpc/boot/dts/kuroboxHG.dts           |    5 +----
 arch/powerpc/boot/dts/makalu.dts              |    5 +----
 arch/powerpc/boot/dts/mvme5100.dts            |    5 +----
 arch/powerpc/boot/dts/obs600.dts              |    5 +----
 arch/powerpc/boot/dts/rainier.dts             |    6 +-----
 arch/powerpc/boot/dts/redwood.dts             |    5 +----
 arch/powerpc/boot/dts/sam440ep.dts            |    9 +++------
 arch/powerpc/boot/dts/sequoia.dts             |    6 +-----
 arch/powerpc/boot/dts/storcenter.dts          |    5 +----
 arch/powerpc/boot/dts/taishan.dts             |    5 +----
 arch/powerpc/boot/dts/warp.dts                |    5 +----
 arch/powerpc/boot/dts/yosemite.dts            |    5 +----
 arch/powerpc/boot/ops.h                       |    6 ++----
 arch/powerpc/boot/serial.c                    |    6 ++----
 arch/powerpc/boot/simple_alloc.c              |    6 ++----
 arch/powerpc/include/asm/edac.h               |    6 ++----
 arch/powerpc/include/asm/ehv_pic.h            |    5 +----
 arch/powerpc/include/asm/fs_pd.h              |    5 +----
 arch/powerpc/include/asm/kgdb.h               |    7 ++-----
 68 files changed, 83 insertions(+), 288 deletions(-)
arch/arm/plat-orion/common.c +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * arch/arm/plat-orion/common.c
  *
  * Marvell Orion SoC common setup code used by multiple mach-/common.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.
  */
 
 #include <linux/kernel.h>
arch/arm/plat-orion/gpio.c +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * arch/arm/plat-orion/gpio.c
  *
  * Marvell Orion SoC GPIO handling.
- *
- * 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 DEBUG
arch/arm/plat-orion/include/plat/addr-map.h +1 -4
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/arm/plat-orion/include/plat/addr-map.h
  *
  * Marvell Orion SoC address map handling.
- *
- * 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_ADDR_MAP_H
arch/arm/plat-orion/include/plat/common.h +1 -4
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/arm/plat-orion/include/plat/common.h
  *
  * Marvell Orion SoC common setup code used by different mach-/common.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.
  */
 
 #ifndef __PLAT_COMMON_H
arch/arm/plat-orion/include/plat/irq.h +1 -4
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/arm/plat-orion/include/plat/irq.h
  *
  * Marvell Orion SoC IRQ handling.
- *
- * 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_IRQ_H
arch/arm/plat-orion/include/plat/mpp.h +1 -4
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/arm/plat-orion/include/plat/mpp.h
  *
  * Marvell Orion SoC MPP handling.
- *
- * 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_MPP_H
arch/arm/plat-orion/include/plat/orion-gpio.h +1 -4
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/arm/plat-orion/include/plat/orion-gpio.h
  *
  * Marvell Orion SoC GPIO handling.
- *
- * 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_GPIO_H
arch/arm/plat-orion/include/plat/pcie.h +1 -4
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/arm/plat-orion/include/plat/pcie.h
  *
  * Marvell Orion SoC PCIe handling.
- *
- * 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_PCIE_H
arch/arm/plat-orion/include/plat/time.h +1 -4
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/arm/plat-orion/include/plat/time.h
  *
  * Marvell Orion SoC time handling.
- *
- * 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_TIME_H
arch/arm/plat-orion/irq.c +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * arch/arm/plat-orion/irq.c
  *
  * Marvell Orion SoC IRQ handling.
- *
- * 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>
arch/arm/plat-orion/mpp.c +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * arch/arm/plat-orion/mpp.c
  *
  * MPP functions for Marvell orion SoCs
- *
- * 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>
arch/arm/plat-orion/pcie.c +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * arch/arm/plat-orion/pcie.c
  *
  * Marvell Orion SoC PCIe handling.
- *
- * 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>
arch/arm/plat-orion/time.c +1 -4
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * arch/arm/plat-orion/time.c
  *
  * Marvell Orion SoC timer handling.
  *
- * 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.
- *
  * Timer 0 is used as free-running clocksource, while timer 1 is
  * used as clock_event_device.
  */
arch/microblaze/pci/xilinx_pci.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * PCI support for Xilinx plbv46_pci soft-core which can be used on
  * Xilinx Virtex ML410 / ML510 boards.
@@ -8,10 +9,6 @@
  * The pci bridge fixup code was copied from ppc4xx_pci.c and was written
  * by Benjamin Herrenschmidt.
  * Copyright 2007 Ben. Herrenschmidt <[email protected]>, IBM Corp.
- *
- * 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/ioport.h>
arch/mips/alchemy/common/platform.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Platform device support for Au1x00 SoCs.
  *
@@ -5,10 +6,6 @@
  *
  * (C) Copyright Embedded Alley Solutions, Inc 2005
  * Author: Pantelis Antoniou <[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>
arch/mips/include/asm/txx9/smsc_fdc37m81x.h +2 -4
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Interface for smsc fdc48m81x Super IO chip
  *
  * Author: MontaVista Software, Inc. [email protected]
  *
- * 2001-2003 (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.
+ * 2001-2003 (c) MontaVista Software, Inc.
  *
  * Copyright (C) 2004 MontaVista Software Inc.
  * Manish Lachwani, [email protected]
arch/mips/include/asm/txx9/tx4938.h +2 -4
@@ -1,11 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Definitions for TX4937/TX4938
  * Copyright (C) 2000-2001 Toshiba Corporation
  *
- * 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.
+ * 2003-2005 (c) MontaVista Software, Inc.
  *
  * Support for TX4938 in 2.6 - Manish Lachwani ([email protected])
  */
arch/mips/kernel/kgdb.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  Originally written by Glenn Engel, Lake Stevens Instrument Division
  *
@@ -16,10 +17,6 @@
  *
  *  Copyright (C) 2007-2008 Wind River Systems, Inc.
  *  Author/Maintainer: Jason Wessel, [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/ptrace.h>		/* for linux pt_regs struct */
arch/mips/txx9/generic/irq_tx4938.c +2 -4
@@ -1,13 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * linux/arch/mips/tx4938/common/irq.c
  *
  * Common tx4938 irq handler
  * Copyright (C) 2000-2001 Toshiba Corporation
  *
- * 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.
+ * 2003-2005 (c) MontaVista Software, Inc.
  *
  * Support for TX4938 in 2.6 - Manish Lachwani ([email protected])
  */
arch/mips/txx9/generic/smsc_fdc37m81x.c +2 -4
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Interface for smsc fdc48m81x Super IO chip
  *
  * Author: MontaVista Software, Inc. [email protected]
  *
- * 2001-2003 (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.
+ * 2001-2003 (c) MontaVista Software, Inc.
  *
  * Copyright 2004 (c) MontaVista Software, Inc.
  */
arch/openrisc/include/asm/atomic.h +2 -7
@@ -1,10 +1,5 @@
-/*
- * Copyright (C) 2014 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.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* Copyright (C) 2014 Stefan Kristiansson <[email protected]> */
 
 #ifndef __ASM_OPENRISC_ATOMIC_H
 #define __ASM_OPENRISC_ATOMIC_H
arch/openrisc/include/asm/bitops/atomic.h +2 -7
@@ -1,10 +1,5 @@
-/*
- * Copyright (C) 2014 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.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* Copyright (C) 2014 Stefan Kristiansson <[email protected]> */
 
 #ifndef __ASM_OPENRISC_BITOPS_ATOMIC_H
 #define __ASM_OPENRISC_BITOPS_ATOMIC_H
arch/openrisc/include/asm/cmpxchg.h +1 -4
@@ -1,13 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * 1,2 and 4 byte cmpxchg and xchg implementations for OpenRISC.
  *
  * Copyright (C) 2014 Stefan Kristiansson <[email protected]>
  * Copyright (C) 2017 Stafford Horne <[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.
- *
  * Note:
  * The portable implementations of 1 and 2 byte xchg and cmpxchg using a 4
  * byte cmpxchg is sourced heavily from the sh and mips implementations.
arch/openrisc/include/asm/smp.h +2 -7
@@ -1,10 +1,5 @@
-/*
- * Copyright (C) 2014 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.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* Copyright (C) 2014 Stefan Kristiansson <[email protected]> */
 
 #ifndef __ASM_OPENRISC_SMP_H
 #define __ASM_OPENRISC_SMP_H
arch/openrisc/include/asm/unwinder.h +1 -4
@@ -1,13 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * OpenRISC unwinder.h
  *
  * Architecture API for unwinding stacks.
  *
  * Copyright (C) 2017 Stafford Horne <[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_OPENRISC_UNWINDER_H
arch/openrisc/kernel/smp.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014 Stefan Kristiansson <[email protected]>
  * Copyright (C) 2017 Stafford Horne <[email protected]>
@@ -5,10 +6,6 @@
  * Based on arm64 and arc implementations
  * Copyright (C) 2013 ARM Ltd.
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.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/smp.h>
arch/openrisc/kernel/stacktrace.c +1 -4
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Stack trace utility for OpenRISC
  *
  * Copyright (C) 2017 Stafford Horne <[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.
- *
  * Losely based on work from sh and powerpc.
  */
 
arch/openrisc/kernel/unwinder.c +1 -5
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OpenRISC unwinder.c
  *
  * Reusable arch specific api for unwinding stacks.
  *
  * Copyright (C) 2017 Stafford Horne <[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/sched/task_stack.h>
@@ -102,4 +99,3 @@ void unwind_stack(void *data, unsigned l
 	}
 }
 #endif /* CONFIG_FRAME_POINTER */
-
arch/powerpc/boot/44x.h +1 -4
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * PowerPC 44x related functions
  *
  * Copyright 2007 David Gibson, IBM Corporation.
- *
- * 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 _PPC_BOOT_44X_H_
 #define _PPC_BOOT_44X_H_
arch/powerpc/boot/4xx.h +1 -4
@@ -1,12 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * PowerPC 4xx related functions
  *
  * Copyright 2007 IBM Corporation.
  * Josh Boyer <[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 _POWERPC_BOOT_4XX_H_
 #define _POWERPC_BOOT_4XX_H_
arch/powerpc/boot/dts/acadia.dts +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for AMCC Acadia (405EZ)
  *
  * Copyright IBM Corp. 2008
- *
- * 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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/akebono.dts +1 -4
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for IBM Embedded PPC 476 Platform
  *
  * Copyright © 2013 Tony Breeds IBM Corporation
  * Copyright © 2013 Alistair Popple IBM Corporation
- *
- * 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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/bamboo.dts +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for AMCC Bamboo
  *
@@ -5,10 +6,6 @@
  * Josh Boyer <[email protected]>
  *
  * FIXME: Draft only!
- *
- * 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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/canyonlands.dts +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for AMCC Canyonlands (460EX)
  *
  * Copyright 2008-2009 DENX Software Engineering, Stefan Roese <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/currituck.dts +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for IBM Embedded PPC 476 Platform
  *
  * Copyright © 2011 Tony Breeds IBM Corporation
- *
- * 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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/ebony.dts +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for IBM Ebony
  *
@@ -5,10 +6,6 @@
  * Josh Boyer <[email protected]>, David Gibson <[email protected]>
  *
  * FIXME: Draft only!
- *
- * 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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/eiger.dts +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for AMCC (AppliedMicro) Eiger(460SX)
  *
  * Copyright 2009 AMCC (AppliedMicro) <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/fsp2.dts +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for FSP2
  *
  * Copyright 2010,2012 IBM Corp.
- *
- * 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.
  */
 
 
arch/powerpc/boot/dts/glacier.dts +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for AMCC Glacier (460GT)
  *
  * Copyright 2008-2010 DENX Software Engineering, Stefan Roese <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/haleakala.dts +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for AMCC Haleakala (405EXr)
  *
  * Copyright 2008 DENX Software Engineering, Stefan Roese <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/holly.dts +1 -4
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for IBM Holly (PPC 750CL with TSI controller)
  * Copyright 2007, IBM Corporation
  *
  * Stephen Winiecki <[email protected]>
  * Josh Boyer <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/hotfoot.dts +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for ESTeem 195E Hotfoot
  *
  * Copyright 2009 AbsoluteValue Systems <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/icon.dts +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for Mosaix Technologies, Inc. ICON board
  *
  * Copyright 2010 DENX Software Engineering, Stefan Roese <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/iss4xx-mpic.dts +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for IBM Embedded PPC 476 Platform
  *
@@ -6,10 +7,6 @@
  * Based on earlier code:
  *     Copyright (c) 2006, 2007 IBM Corp.
  *     Josh Boyer <[email protected]>, David Gibson <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/iss4xx.dts +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for IBM Embedded PPC 476 Platform
  *
@@ -6,10 +7,6 @@
  * Based on earlier code:
  *    Copyright (c) 2006, 2007 IBM Corp.
  *    Josh Boyer <[email protected]>, David Gibson <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/katmai.dts +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for AMCC Katmai eval board
  *
@@ -6,10 +7,6 @@
  *
  * Copyright (c) 2006, 2007 IBM Corp.
  * Josh Boyer <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/kilauea.dts +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for AMCC Kilauea (405EX)
  *
  * Copyright 2007-2009 DENX Software Engineering, Stefan Roese <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/ksi8560.dts +2 -5
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for Emerson KSI8560
  *
@@ -5,11 +6,7 @@
  *
  * Based on mpc8560ads.dts
  *
- * 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.
- *
+ * 2008 (c) MontaVista, Software, Inc.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/kuroboxHD.dts +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Souce for Buffalo KuroboxHD
  *
@@ -9,10 +10,6 @@
  * 2006 (c) G. Liakhovetski <[email protected]>
  * Copyright 2008 Freescale Semiconductor, 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.
 
 XXXX add flash parts, rtc, ??
 
arch/powerpc/boot/dts/kuroboxHG.dts +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Souce for Buffalo KuroboxHG
  *
@@ -9,10 +10,6 @@
  * 2006 (c) G. Liakhovetski <[email protected]>
  * Copyright 2008 Freescale Semiconductor, 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.
 
 XXXX add flash parts, rtc, ??
 
arch/powerpc/boot/dts/makalu.dts +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for AMCC Makalu (405EX)
  *
  * Copyright 2007 DENX Software Engineering, Stefan Roese <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/mvme5100.dts +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for Motorola/Emerson MVME5100.
  *
  * Copyright 2013 CSC Australia Pty. Ltd.
- *
- * 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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/obs600.dts +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for PlatHome OpenBlockS 600 (405EX)
  *
@@ -6,10 +7,6 @@
  * Based on Kilauea by:
  *
  * Copyright 2007-2009 DENX Software Engineering, Stefan Roese <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/rainier.dts +1 -5
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for AMCC Rainier
  *
@@ -5,11 +6,6 @@
  * Copyright (c) 2007 MontaVista Software, Inc.
  *
  * FIXME: Draft only!
- *
- * 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.
- *
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/redwood.dts +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for AMCC Redwood(460SX)
  *
  * Copyright 2008 AMCC <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/sam440ep.dts +3 -6
@@ -1,16 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- * Device Tree Source for ACube Sam440ep  based off bamboo.dts code 
- * original copyrights below 
+ * Device Tree Source for ACube Sam440ep  based off bamboo.dts code
+ * original copyrights below
  *
  * Copyright (c) 2006, 2007 IBM Corp.
  * Josh Boyer <[email protected]>
  *
  * Modified from bamboo.dts for sam440ep:
  * Copyright 2008 Giuseppe Coviello <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/sequoia.dts +1 -5
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for AMCC Sequoia
  *
@@ -5,11 +6,6 @@
  * Copyright (c) 2006, 2007 IBM Corp.
  *
  * FIXME: Draft only!
- *
- * 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.
- *
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/storcenter.dts +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for IOMEGA StorCenter
  *
@@ -5,10 +6,6 @@
  * Copyright 2007 Jon Loeliger
  *
  * Based on the Kurobox DTS by G. Liakhovetski <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/taishan.dts +1 -4
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for IBM/AMCC Taishan
  *
  * Copyright 2007 IBM Corp.
  * Hugh Blemings <[email protected]> based off code by
  * Josh Boyer <[email protected]>, David Gibson <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/warp.dts +1 -4
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for PIKA Warp
  *
  * Copyright (c) 2008-2009 PIKA Technologies
  *   Sean MacLennan <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/dts/yosemite.dts +1 -4
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for AMCC Yosemite
  *
  * Copyright 2008 IBM Corp.
  * Josh Boyer <[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.
  */
 
 /dts-v1/;
arch/powerpc/boot/ops.h +2 -4
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Global definition of all the bootwrapper operations.
  *
  * Author: Mark A. Greer <[email protected]>
  *
- * 2006 (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 (c) MontaVista Software, Inc.
  */
 #ifndef _PPC_BOOT_OPS_H_
 #define _PPC_BOOT_OPS_H_
arch/powerpc/boot/serial.c +2 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Generic serial console support
  *
@@ -6,10 +7,7 @@
  * Code in serial_edit_cmdline() copied from <file:arch/ppc/boot/simple/misc.c>
  * and was written by Matt Porter <[email protected]>.
  *
- * 2001,2006 (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.
+ * 2001,2006 (c) MontaVista Software, Inc.
  */
 #include <stdarg.h>
 #include <stddef.h>
arch/powerpc/boot/simple_alloc.c +2 -4
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Implement primitive realloc(3) functionality.
  *
  * Author: Mark A. Greer <[email protected]>
  *
- * 2006 (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 (c) MontaVista, Software, Inc.
  */
 
 #include <stddef.h>
arch/powerpc/include/asm/edac.h +2 -4
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * PPC EDAC common defs
  *
  * Author: Dave Jiang <[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_EDAC_H
 #define ASM_EDAC_H
arch/powerpc/include/asm/ehv_pic.h +1 -4
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * EHV_PIC private definitions and structure.
  *
  * Copyright 2008-2010 Freescale Semiconductor, 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 __EHV_PIC_H__
 #define __EHV_PIC_H__
arch/powerpc/include/asm/fs_pd.h +1 -4
@@ -1,12 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Platform information definitions.
  *
  * 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_PD_H
arch/powerpc/include/asm/kgdb.h +2 -5
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * The PowerPC (32/64) specific defines / externs for KGDB.  Based on
  * the previous 32bit and 64bit specific files, which had the following
@@ -8,14 +9,10 @@
  * PPC Mods (C) 2003 John Whitney ([email protected])
  * PPC Mods (C) 1998 Michael Tesch ([email protected])
  *
- *
  * Copyright (C) 1995 David S. Miller ([email protected])
  * Author: Tom Rini <[email protected]>
  *
- * 2006 (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 (c) MontaVista Software, Inc.
  */
 #ifdef __KERNEL__
 #ifndef __POWERPC_KGDB_H__
#35 lore raw

PATCH v2 1/1 treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_56.RULE (part 3/1)

In reply to Thomas Gleixner

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.

---
V2: Split to overcome list size limits

---
 arch/powerpc/include/asm/mpc52xx.h               |    6 +-----
 arch/powerpc/include/asm/mpc52xx_psc.h           |    6 +-----
 arch/powerpc/include/asm/rheap.h                 |    6 ++----
 arch/powerpc/lib/rheap.c                         |    7 ++-----
 arch/powerpc/platforms/52xx/efika.c              |    6 +-----
 arch/powerpc/platforms/52xx/mpc52xx_common.c     |    7 +------
 arch/powerpc/platforms/52xx/mpc52xx_pci.c        |    5 +----
 arch/powerpc/platforms/52xx/mpc52xx_pic.c        |    7 +------
 arch/powerpc/platforms/85xx/ksi8560.c            |    7 ++-----
 arch/powerpc/platforms/85xx/p1022_ds.c           |    5 +----
 arch/powerpc/platforms/85xx/p1022_rdk.c          |    5 +----
 arch/powerpc/platforms/8xx/ep88xc.c              |    5 +----
 arch/powerpc/platforms/8xx/mpc86xads.h           |    5 ++---
 arch/powerpc/platforms/8xx/mpc86xads_setup.c     |    5 +----
 arch/powerpc/platforms/8xx/mpc885ads.h           |    5 ++---
 arch/powerpc/platforms/8xx/mpc885ads_setup.c     |    5 +----
 arch/powerpc/platforms/8xx/mpc8xx.h              |    5 +----
 arch/powerpc/platforms/8xx/tqm8xx_setup.c        |    5 +----
 arch/powerpc/platforms/embedded6xx/linkstation.c |    5 +----
 arch/powerpc/platforms/embedded6xx/ls_uart.c     |    5 +----
 arch/powerpc/platforms/embedded6xx/mpc10x.h      |    6 ++----
 arch/powerpc/platforms/embedded6xx/storcenter.c  |    5 +----
 arch/powerpc/sysdev/cpm2.c                       |    5 +----
 arch/powerpc/sysdev/cpm2_pic.c                   |    5 +----
 arch/powerpc/sysdev/ehv_pic.c                    |    5 +----
 arch/powerpc/sysdev/ge/ge_pic.c                  |    6 +-----
 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c          |    5 +----
 drivers/gpu/drm/sun4i/sun8i_ui_scaler.h          |    9 ++-------
 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c          |    5 +----
 drivers/gpu/drm/sun4i/sun8i_vi_scaler.h          |    9 ++-------
 drivers/i2c/busses/i2c-octeon-core.c             |    5 +----
 drivers/i2c/busses/i2c-sun6i-p2wi.c              |    6 +-----
 drivers/i2c/busses/i2c-xlp9xx.c                  |    9 ++-------
 drivers/i2c/i2c-mux.c                            |    5 +----
 drivers/i2c/muxes/i2c-mux-pca9541.c              |    5 +----
 drivers/iio/adc/berlin2-adc.c                    |    5 +----
 drivers/input/touchscreen/ts4800-ts.c            |    5 +----
 drivers/irqchip/irq-alpine-msi.c                 |    5 +----
 drivers/irqchip/irq-armada-370-xp.c              |    5 +----
 drivers/irqchip/irq-atmel-aic-common.c           |    5 +----
 drivers/irqchip/irq-atmel-aic-common.h           |    5 +----
 drivers/irqchip/irq-atmel-aic.c                  |    5 +----
 drivers/irqchip/irq-atmel-aic5.c                 |    5 +----
 drivers/irqchip/irq-digicolor.c                  |    5 +----
 drivers/irqchip/irq-mvebu-gicp.c                 |    5 +----
 drivers/irqchip/irq-mvebu-icu.c                  |    5 +----
 drivers/irqchip/irq-mvebu-odmi.c                 |    5 +----
 drivers/irqchip/irq-mvebu-pic.c                  |    6 +-----
 drivers/irqchip/irq-ompic.c                      |    6 +-----
 drivers/irqchip/irq-orion.c                      |    5 +----
 drivers/irqchip/irq-sun4i.c                      |    5 +----
 drivers/irqchip/irq-sunxi-nmi.c                  |    5 +----
 drivers/irqchip/irq-ts4800.c                     |    5 +----
 drivers/irqchip/irqchip.c                        |    5 +----
 drivers/irqchip/spear-shirq.c                    |    5 +----
 drivers/media/platform/ti/omap/omap_vout_vrfb.c  |    6 +-----
 drivers/media/platform/ti/omap/omap_vout_vrfb.h  |    6 +-----
 drivers/media/platform/ti/omap/omap_voutdef.h    |    5 +----
 drivers/media/platform/ti/omap/omap_voutlib.h    |    7 +------
 drivers/media/radio/si4713/si4713.h              |    6 +-----
 drivers/mmc/host/moxart-mmc.c                    |    5 +----
 drivers/mmc/host/sdhci-pic32.c                   |    5 +----
 drivers/mmc/host/sdhci-spear.c                   |    5 +----
 drivers/mtd/nand/raw/tmio_nand.c                 |    7 +------
 drivers/net/can/c_can/c_can.h                    |    5 +----
 drivers/net/can/c_can/c_can_main.c               |    5 +----
 drivers/net/can/c_can/c_can_pci.c                |    5 +----
 drivers/net/can/c_can/c_can_platform.c           |    5 +----
 drivers/net/can/ifi_canfd/ifi_canfd.c            |    5 +----
 69 files changed, 78 insertions(+), 303 deletions(-)
arch/powerpc/include/asm/mpc52xx.h +1 -5
@@ -1,13 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Prototypes, etc. for the Freescale MPC52xx embedded cpu chips
  * May need to be cleaned as the port goes on ...
  *
  * Copyright (C) 2004-2005 Sylvain Munaut <[email protected]>
  * Copyright (C) 2003 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 __ASM_POWERPC_MPC52xx_H__
@@ -362,4 +359,3 @@ int __init lite5200_pm_init(void);
 #endif /* CONFIG_PM */
 
 #endif /* __ASM_POWERPC_MPC52xx_H__ */
-
arch/powerpc/include/asm/mpc52xx_psc.h +1 -5
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * include/asm-ppc/mpc52xx_psc.h
  *
@@ -5,7 +6,6 @@
  * PSCs. Theses are shared between multiple drivers since a PSC can be
  * UART, AC97, IR, I2S, ... So this header is in asm-ppc.
  *
- *
  * Maintainer : Sylvain Munaut <[email protected]>
  *
  * Based/Extracted from some header of the 2.4 originally written by
@@ -13,10 +13,6 @@
  *
  * Copyright (C) 2004 Sylvain Munaut <[email protected]>
  * Copyright (C) 2003 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 __ASM_MPC52xx_PSC_H__
arch/powerpc/include/asm/rheap.h +2 -4
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * include/asm-ppc/rheap.h
  *
@@ -5,10 +6,7 @@
  *
  * Author: Pantelis Antoniou <[email protected]>
  *
- * 2004 (c) INTRACOM S.A. Greece. 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.
+ * 2004 (c) INTRACOM S.A.
  */
 
 #ifndef __ASM_PPC_RHEAP_H__
arch/powerpc/lib/rheap.c +2 -5
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * A Remote Heap.  Remote means that we don't touch the memory that the
  * heap points to. Normal heap implementations use the memory they manage
@@ -7,10 +8,7 @@
  *
  * Author: Pantelis Antoniou <[email protected]>
  *
- * 2004 (c) INTRACOM S.A. Greece. 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.
+ * 2004 (c) INTRACOM S.A.
  */
 #include <linux/types.h>
 #include <linux/errno.h>
@@ -744,4 +742,3 @@ void rh_dump_blk(rh_info_t * info, rh_bl
 	       blk, blk->start, blk->start + blk->size, blk->size);
 }
 EXPORT_SYMBOL_GPL(rh_dump_blk);
-
arch/powerpc/platforms/52xx/efika.c +1 -5
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Efika 5K2 platform code
  * Some code really inspired from the lite5200b platform.
  *
  * Copyright (C) 2006 bplan GmbH
- *
- * 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>
@@ -231,4 +228,3 @@ define_machine(efika)
 	.phys_mem_access_prot	= pci_phys_mem_access_prot,
 #endif
 };
-
arch/powerpc/platforms/52xx/mpc52xx_common.c +1 -6
@@ -1,13 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
  * Utility functions for the Freescale MPC52xx.
  *
  * 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.
- *
  */
 
 #undef DEBUG
arch/powerpc/platforms/52xx/mpc52xx_pci.c +1 -4
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * PCI code for the Freescale MPC52xx embedded CPU.
  *
  * Copyright (C) 2006 Secret Lab Technologies Ltd.
  *                        Grant Likely <[email protected]>
  * Copyright (C) 2004 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.
  */
 
 #undef DEBUG
arch/powerpc/platforms/52xx/mpc52xx_pic.c +1 -6
@@ -1,5 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
  * Programmable Interrupt Controller functions for the Freescale MPC52xx.
  *
  * Copyright (C) 2008 Secret Lab Technologies Ltd.
@@ -9,11 +9,6 @@
  *
  * Based on the code from the 2.4 kernel by
  * Dale Farnsworth <[email protected]> and Kent Borg.
- *
- * 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.
- *
  */
 
 /*
arch/powerpc/platforms/85xx/ksi8560.c +2 -5
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Board setup routines for the Emerson KSI8560
  *
@@ -5,11 +6,7 @@
  *
  * Based on mpc85xx_ads.c maintained by Kumar Gala
  *
- * 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.
- *
+ * 2008 (c) MontaVista, Software, Inc.
  */
 
 #include <linux/stddef.h>
arch/powerpc/platforms/85xx/p1022_ds.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * P1022DS board specific routines
  *
@@ -10,10 +11,6 @@
  * This file is taken from the Freescale P1022DS BSP, with modifications:
  * 2) No AMP support
  * 3) No PCI endpoint support
- *
- * 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/fsl/guts.h>
arch/powerpc/platforms/85xx/p1022_rdk.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * P1022 RDK board specific routines
  *
@@ -6,10 +7,6 @@
  * Author: Timur Tabi <[email protected]>
  *
  * Based on p1022_ds.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.
  */
 
 #include <linux/fsl/guts.h>
arch/powerpc/platforms/8xx/ep88xc.c +1 -4
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Platform setup for the Embedded Planet EP88xC board
  *
  * Author: Scott Wood <[email protected]>
  * Copyright 2007 Freescale Semiconductor, 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>
arch/powerpc/platforms/8xx/mpc86xads.h +2 -3
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * A collection of structures, addresses, and values associated with
  * the Freescale MPC86xADS board.
@@ -6,9 +7,7 @@
  * Author: MontaVista Software, Inc.
  *         [email protected]
  *
- * 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.
+ * 2005 (c) MontaVista Software, Inc.
  */
 
 #ifdef __KERNEL__
arch/powerpc/platforms/8xx/mpc86xads_setup.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*arch/powerpc/platforms/8xx/mpc86xads_setup.c
  *
  * Platform setup for the Freescale mpc86xads board
@@ -8,10 +9,6 @@
  *
  * Heavily modified by Scott Wood <[email protected]>
  * Copyright 2007 Freescale Semiconductor, 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>
arch/powerpc/platforms/8xx/mpc885ads.h +2 -3
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * A collection of structures, addresses, and values associated with
  * the Freescale MPC885ADS board.
@@ -6,9 +7,7 @@
  * Author: MontaVista Software, Inc.
  *         [email protected]
  *
- * 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.
+ * 2005 (c) MontaVista Software, Inc.
  */
 
 #ifdef __KERNEL__
arch/powerpc/platforms/8xx/mpc885ads_setup.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Platform setup for the Freescale mpc885ads board
  *
@@ -7,10 +8,6 @@
  *
  * Heavily modified by Scott Wood <[email protected]>
  * Copyright 2007 Freescale Semiconductor, 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>
arch/powerpc/platforms/8xx/mpc8xx.h +1 -4
@@ -1,12 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Prototypes, etc. for the Freescale MPC8xx embedded cpu chips
  * May need to be cleaned as the port goes on ...
  *
  * Copyright (C) 2008 Jochen Friedrich <[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 __MPC8xx_H
 #define __MPC8xx_H
arch/powerpc/platforms/8xx/tqm8xx_setup.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Platform setup for the MPC8xx based boards from TQM.
  *
@@ -11,10 +12,6 @@
  *
  * Heavily modified by Scott Wood <[email protected]>
  * Copyright 2007 Freescale Semiconductor, 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>
arch/powerpc/platforms/embedded6xx/linkstation.c +1 -4
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Board setup routines for the Buffalo Linkstation / Kurobox Platform.
  *
  * Copyright (C) 2006 G. Liakhovetski ([email protected])
  *
  * Based on sandpoint.c by Mark A. Greer
- *
- * 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>
arch/powerpc/platforms/embedded6xx/ls_uart.c +1 -4
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * AVR power-management chip interface for the Buffalo Linkstation /
  * Kurobox Platform.
  *
  * Author: 2006 (c) G. Liakhovetski
  *	 [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/workqueue.h>
 #include <linux/string.h>
arch/powerpc/platforms/embedded6xx/mpc10x.h +2 -4
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Common routines for the Motorola SPS MPC106/8240/107 Host bridge/Mem
  * ctlr/EPIC/etc.
@@ -5,10 +6,7 @@
  * Author: Mark A. Greer
  *         [email protected]
  *
- * 2001 (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.
+ * 2001 (c) MontaVista, Software, Inc.
  */
 #ifndef __PPC_KERNEL_MPC10X_H
 #define __PPC_KERNEL_MPC10X_H
arch/powerpc/platforms/embedded6xx/storcenter.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Board setup routines for the storcenter
  *
@@ -5,10 +6,6 @@
  * Copyright 2007 Andy Wilcox, Jon Loeliger
  *
  * Based on linkstation.c by G. Liakhovetski
- *
- * 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>
arch/powerpc/sysdev/cpm2.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * General Purpose functions for the global management of the
  * 8260 Communication Processor Module.
@@ -8,10 +9,6 @@
  * 2006 (c) MontaVista Software, Inc.
  * Vitaly Bordug <[email protected]>
  * 	Merged to arch/powerpc from arch/ppc/syslib/cpm2_common.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.
  */
 
 /*
arch/powerpc/sysdev/cpm2_pic.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Platform information definitions.
  *
@@ -8,10 +9,6 @@
  *
  * 1999-2001 (c) Dan Malek <[email protected]>
  * 2006 (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.
  */
 
 /* The CPM2 internal interrupt controller.  It is usually
arch/powerpc/sysdev/ehv_pic.c +1 -4
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  Driver for ePAPR Embedded Hypervisor PIC
  *
  *  Copyright 2008-2011 Freescale Semiconductor, Inc.
  *
  *  Author: Ashish Kalra <[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/types.h>
arch/powerpc/sysdev/ge/ge_pic.c +1 -5
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Interrupt handling for GE FPGA based PIC
  *
  * Author: Martyn Welch <[email protected]>
  *
  * 2008 (c) GE Intelligent Platforms Embedded Systems, 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/stddef.h>
@@ -250,4 +247,3 @@ unsigned int gef_pic_get_irq(void)
 
 	return virq;
 }
-
drivers/gpu/drm/sun4i/sun8i_ui_scaler.c +1 -4
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2017 Jernej Skrabec <[email protected]>
  *
  * Coefficients are taken from BSP driver, which is:
  * Copyright (C) 2014-2015 Allwinner
- *
- * 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 "sun8i_ui_scaler.h"
drivers/gpu/drm/sun4i/sun8i_ui_scaler.h +2 -7
@@ -1,10 +1,5 @@
-/*
- * Copyright (C) 2017 Jernej Skrabec <[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 (C) 2017 Jernej Skrabec <[email protected]> */
 
 #ifndef _SUN8I_UI_SCALER_H_
 #define _SUN8I_UI_SCALER_H_
drivers/gpu/drm/sun4i/sun8i_vi_scaler.c +1 -4
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2017 Jernej Skrabec <[email protected]>
  *
  * Coefficients are taken from BSP driver, which is:
  * Copyright (C) 2014-2015 Allwinner
- *
- * 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 "sun8i_vi_scaler.h"
drivers/gpu/drm/sun4i/sun8i_vi_scaler.h +2 -7
@@ -1,10 +1,5 @@
-/*
- * Copyright (C) 2017 Jernej Skrabec <[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 (C) 2017 Jernej Skrabec <[email protected]> */
 
 #ifndef _SUN8I_VI_SCALER_H_
 #define _SUN8I_VI_SCALER_H_
drivers/i2c/busses/i2c-octeon-core.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * (C) Copyright 2009-2010
  * Nokia Siemens Networks, [email protected]
@@ -6,10 +7,6 @@
  *
  * This file contains the shared part of the driver for the i2c adapter in
  * Cavium Networks' OCTEON processors and ThunderX SOCs.
- *
- * 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>
drivers/i2c/busses/i2c-sun6i-p2wi.c +1 -5
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * P2WI (Push-Pull Two Wire Interface) bus driver.
  *
  * Author: Boris BREZILLON <[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 P2WI controller looks like an SMBus controller which only supports byte
  * data transfers. But, it differs from standard SMBus protocol on several
  * aspects:
@@ -19,7 +16,6 @@
  * This means this bus cannot be used to interface with standard SMBus
  * devices (the only known device to support this interface is the AXP221
  * PMIC).
- *
  */
 #include <linux/clk.h>
 #include <linux/i2c.h>
drivers/i2c/busses/i2c-xlp9xx.c +2 -7
@@ -1,10 +1,5 @@
-/*
- * Copyright (c) 2003-2015 Broadcom Corporation
- *
- * 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 (c) 2003-2015 Broadcom Corporation
 
 #include <linux/acpi.h>
 #include <linux/clk.h>
drivers/i2c/i2c-mux.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Multiplexed I2C bus driver.
  *
@@ -13,10 +14,6 @@
  *	i2c-virt.c from Kumar Gala <[email protected]>
  *	i2c-virtual.c from Ken Harrenstien, Copyright (c) 2004 Google, Inc.
  *	i2c-virtual.c from Brian Kuschak <[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>
drivers/i2c/muxes/i2c-mux-pca9541.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * I2C multiplexer driver for PCA9541 bus master selector
  *
@@ -10,10 +11,6 @@
  *
  *  Copyright (c) 2008-2009 Rodolfo Giometti <[email protected]>
  *  Copyright (c) 2008-2009 Eurotech S.p.A. <[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>
drivers/iio/adc/berlin2-adc.c +1 -4
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Marvell Berlin2 ADC driver
  *
  * Copyright (C) 2015 Marvell Technology Group Ltd.
  *
  * 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/iio/iio.h>
drivers/input/touchscreen/ts4800-ts.c +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Touchscreen driver for the TS-4800 board
  *
  * 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/bitops.h>
drivers/irqchip/irq-alpine-msi.c +1 -4
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Annapurna Labs MSIX support services
  *
  * Copyright (C) 2016, Amazon.com, Inc. or its affiliates. All Rights Reserved.
  *
  * 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.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
drivers/irqchip/irq-armada-370-xp.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Marvell Armada 370 and Armada XP SoC IRQ handling
  *
@@ -7,10 +8,6 @@
  * Gregory CLEMENT <[email protected]>
  * Thomas Petazzoni <[email protected]>
  * Ben Dooks <[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/kernel.h>
drivers/irqchip/irq-atmel-aic-common.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Atmel AT91 common AIC (Advanced Interrupt Controller) code shared by
  * irq-atmel-aic and irq-atmel-aic5 drivers
@@ -8,10 +9,6 @@
  *  Copyright (C) 2014 Free Electrons
  *
  *  Author: Boris BREZILLON <[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/errno.h>
drivers/irqchip/irq-atmel-aic-common.h +1 -4
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Atmel AT91 common AIC (Advanced Interrupt Controller) header file
  *
@@ -7,10 +8,6 @@
  *  Copyright (C) 2014 Free Electrons
  *
  *  Author: Boris BREZILLON <[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 __IRQ_ATMEL_AIC_COMMON_H
drivers/irqchip/irq-atmel-aic.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Atmel AT91 AIC (Advanced Interrupt Controller) driver
  *
@@ -7,10 +8,6 @@
  *  Copyright (C) 2014 Free Electrons
  *
  *  Author: Boris BREZILLON <[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>
drivers/irqchip/irq-atmel-aic5.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Atmel AT91 AIC5 (Advanced Interrupt Controller) driver
  *
@@ -7,10 +8,6 @@
  *  Copyright (C) 2014 Free Electrons
  *
  *  Author: Boris BREZILLON <[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>
drivers/irqchip/irq-digicolor.c +1 -4
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Conexant Digicolor SoCs IRQ chip driver
  *
  * Author: Baruch Siach <[email protected]>
  *
  * Copyright (C) 2014 Paradox Innovation Ltd.
- *
- * 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>
drivers/irqchip/irq-mvebu-gicp.c +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2017 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.
  */
 
 #include <linux/io.h>
drivers/irqchip/irq-mvebu-icu.c +1 -4
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2017 Marvell
  *
  * Hanna Hawa <[email protected]>
  * 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.
  */
 
 #include <linux/interrupt.h>
drivers/irqchip/irq-mvebu-odmi.c +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016 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.
  */
 
 #define pr_fmt(fmt) "GIC-ODMI: " fmt
drivers/irqchip/irq-mvebu-pic.c +1 -5
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016 Marvell
  *
  * Yehuda Yitschak <[email protected]>
  * 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.
  */
 
 #include <linux/interrupt.h>
@@ -197,4 +194,3 @@ MODULE_AUTHOR("Yehuda Yitschak <yehuday@
 MODULE_AUTHOR("Thomas Petazzoni <[email protected]>");
 MODULE_LICENSE("GPL v2");
 MODULE_ALIAS("platform:mvebu_pic");
-
drivers/irqchip/irq-ompic.c +1 -5
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Open Multi-Processor Interrupt Controller driver
  *
  * Copyright (C) 2014 Stefan Kristiansson <[email protected]>
  * Copyright (C) 2017 Stafford Horne <[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 ompic device handles IPI communication between cores in multi-core
  * OpenRISC systems.
  *
@@ -55,7 +52,6 @@
  *   | ompic  |<===/    | Device |<===/
  *   |  IPI   |         +--------+
  *   +--------+*
- *
  */
 
 #include <linux/io.h>
drivers/irqchip/irq-orion.c +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Marvell Orion SoCs IRQ chip driver.
  *
  * Sebastian Hesselbarth <[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>
drivers/irqchip/irq-sun4i.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner A1X SoCs IRQ chip driver.
  *
@@ -8,10 +9,6 @@
  * Based on code from
  * Allwinner Technology Co., Ltd. <www.allwinnertech.com>
  * Benn Huang <[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>
drivers/irqchip/irq-sunxi-nmi.c +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Allwinner A20/A31 SoCs NMI IRQ chip driver.
  *
  * Carlo Caione <[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 DRV_NAME	"sunxi-nmi"
drivers/irqchip/irq-ts4800.c +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Multiplexed-IRQs driver for TS-4800's FPGA
  *
  * 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/interrupt.h>
drivers/irqchip/irqchip.c +1 -4
@@ -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.
  */
 
 #include <linux/acpi.h>
drivers/irqchip/spear-shirq.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * SPEAr platform shared irq layer source file
  *
@@ -6,10 +7,6 @@
  *
  * Copyright (C) 2012 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.
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
drivers/media/platform/ti/omap/omap_vout_vrfb.c +1 -5
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * omap_vout_vrfb.c
  *
  * Copyright (C) 2010 Texas Instruments.
- *
- * 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/sched.h>
drivers/media/platform/ti/omap/omap_vout_vrfb.h +1 -5
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * omap_vout_vrfb.h
  *
  * Copyright (C) 2010 Texas Instruments.
- *
- * 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 OMAP_VOUT_VRFB_H
drivers/media/platform/ti/omap/omap_voutdef.h +1 -4
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * omap_voutdef.h
  *
  * Copyright (C) 2010 Texas Instruments.
- *
- * 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 OMAP_VOUTDEF_H
drivers/media/platform/ti/omap/omap_voutlib.h +1 -6
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * omap_voutlib.h
  *
  * Copyright (C) 2010 Texas Instruments.
- *
- * 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 OMAP_VOUTLIB_H
@@ -36,4 +32,3 @@ void omap_vout_free_buffer(unsigned long
 bool omap_vout_dss_omap24xx(void);
 bool omap_vout_dss_omap34xx(void);
 #endif	/* #ifndef OMAP_VOUTLIB_H */
-
drivers/media/radio/si4713/si4713.h +1 -5
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * drivers/media/radio/si4713-i2c.h
  *
@@ -5,11 +6,6 @@
  *
  * Copyright (c) 2008 Instituto Nokia de Tecnologia - INdT
  * 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_I2C_H
drivers/mmc/host/moxart-mmc.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * MOXA ART MMC host driver.
  *
@@ -7,10 +8,6 @@
  *
  * Based on code from
  * Moxa Technologies 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>
drivers/mmc/host/sdhci-pic32.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Support of SDHCI platform devices for Microchip PIC32.
  *
@@ -5,10 +6,6 @@
  * Andrei Pistirica, Paul Thacker
  *
  * Inspired by sdhci-pltfm.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.
  */
 
 #include <linux/clk.h>
drivers/mmc/host/sdhci-spear.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * drivers/mmc/host/sdhci-spear.c
  *
@@ -7,10 +8,6 @@
  * Viresh Kumar <[email protected]>
  *
  * Inspired by sdhci-pltfm.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.
  */
 
 #include <linux/clk.h>
drivers/mtd/nand/raw/tmio_nand.c +1 -6
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Toshiba TMIO NAND flash controller driver
  *
@@ -14,12 +15,6 @@
  *    Minor fixes
  *
  * Parts copyright Sebastian Carlier
- *
- * 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.
- *
  */
 
 
drivers/net/can/c_can/c_can.h +1 -4
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * CAN bus driver for Bosch C_CAN controller
  *
@@ -13,10 +14,6 @@
  * Bosch C_CAN user manual can be obtained from:
  * http://www.semiconductors.bosch.de/media/en/pdf/ipmodules_1/c_can/
  * users_manual_c_can.pdf
- *
- * 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 C_CAN_H
drivers/net/can/c_can/c_can_main.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * CAN bus driver for Bosch C_CAN controller
  *
@@ -19,10 +20,6 @@
  * Bosch C_CAN user manual can be obtained from:
  * http://www.semiconductors.bosch.de/media/en/pdf/ipmodules_1/c_can/
  * users_manual_c_can.pdf
- *
- * 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>
drivers/net/can/c_can/c_can_pci.c +1 -4
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * PCI bus driver for Bosch C_CAN/D_CAN controller
  *
  * Copyright (C) 2012 Federico Vaga <[email protected]>
  *
  * Borrowed from c_can_platform.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.
  */
 
 #include <linux/kernel.h>
drivers/net/can/c_can/c_can_platform.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Platform CAN bus driver for Bosch C_CAN controller
  *
@@ -13,10 +14,6 @@
  * Bosch C_CAN user manual can be obtained from:
  * http://www.semiconductors.bosch.de/media/en/pdf/ipmodules_1/c_can/
  * users_manual_c_can.pdf
- *
- * 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>
drivers/net/can/ifi_canfd/ifi_canfd.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * CAN bus driver for IFI CANFD controller
  *
@@ -5,10 +6,6 @@
  *
  * Details about this controller can be found at
  * http://www.ifi-pld.de/IP/CANFD/canfd.html
- *
- * 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>