Skip to contentSkip to conversation

Deep review of 'AS IS' disclaimers - part 1

PATCH In review Thomas Gleixner 3 participants 15 messages Jun 5, 2019 – Jun 8, 2019

Subsystems (36)
lore
Share & tools
lore
#0 lore raw

cover Deep review of 'AS IS' disclaimers - part 1

Folks,

after finishing the boring big sort out phase, we're now at the point to look at the patches on hold.

I've sorted the on hold patches into categories with matching patterns so we can look at each pattern separately.

The first batch is from the 'AS IS' category. All patches in this series have the same modification of the standard GPLv2 disclaimer.

Standard disclaimer:

this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose

Modified diclaimer:

this program is distributed as is without any warranty of any kind whether express[ed] or implied without even the implied warranty of merchantability or fitness for a particular purpose

The NO WARRANTY section of the GPLv2 contains:

PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE

In my opinion the modified disclaimer contains nothing which is substantially different, but I might be wrong as usual.

In case we agree on that, I would amend the changelogs of the individual patches with a paragraph explaining our conclusion. Something along the lines:

The patterns deviate from the standard GPLv2 disclaimer, but the modification does not expand beyond the standard disclaimer and the NO WARRANTY section of the GPLv2. So replacing the license notice including the modified disclaimer with the SPDX license identifier results in the same protections and conditions.

Feel free to suggest better wording or deeper explanation.

Thanks,

tglx

#1 lore raw

PATCH 1/6 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 124

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed as is without any warranty of any kind whether express or implied without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-or-later

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

Bucket: ASIS-1

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=asis-1&id=0dda90619596

---
 drivers/regulator/tps65132-regulator.c |   11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)
drivers/regulator/tps65132-regulator.c +1 -10
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * TI TPS65132 Regulator driver
  *
@@ -5,16 +6,6 @@
  *
  * Author: Venkat Reddy Talla <[email protected]>
  *		Laxman Dewangan <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind,
- * whether express or implied; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
  */
 
 #include <linux/delay.h>
#11 lore raw

PATCH 6/6 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 413

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation version 2 this program is distributed as is without any warranty of any kind whether express or implied without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 51 franklin st fifth floor boston ma 02110 1301 usa

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

Bucket: ASIS-1

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=asis-1&id=733953c8a544

---
 arch/arm/mach-omap2/omap_hwmod_reset.c |   15 +--------------
 include/sound/aess.h                   |   15 +--------------
 2 files changed, 2 insertions(+), 28 deletions(-)
arch/arm/mach-omap2/omap_hwmod_reset.c +1 -14
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OMAP IP block custom reset and preprogramming stubs
  *
@@ -8,20 +9,6 @@
  * functions.  The stubs in this file provide a standard way for the
  * hwmod code to call these functions, which are to be located under
  * drivers/.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA
  */
 #include <linux/kernel.h>
 #include <linux/errno.h>
include/sound/aess.h +1 -14
@@ -1,22 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * AESS IP block reset
  *
  * Copyright (C) 2012 Texas Instruments, Inc.
  * Paul Walmsley
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA
  */
 #ifndef __SOUND_AESS_H__
 #define __SOUND_AESS_H__
#5 lore raw

PATCH 3/6 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 317

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation version 2 this program is distributed as is without any warranty of any kind whether express or implied without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usa

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

Bucket: ASIS-1

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=asis-1&id=f1e13c898add

---
 drivers/mfd/tps80031.c                 |   15 +--------------
 drivers/pinctrl/pinctrl-as3722.c       |   15 +--------------
 drivers/pinctrl/pinctrl-palmas.c       |   15 +--------------
 drivers/pinctrl/pinctrl-utils.c        |   15 +--------------
 drivers/pinctrl/pinctrl-utils.h        |   15 +--------------
 drivers/regulator/max8973-regulator.c  |   15 +--------------
 drivers/regulator/tps51632-regulator.c |   15 +--------------
 drivers/regulator/tps62360-regulator.c |   15 +--------------
 drivers/rtc/rtc-palmas.c               |   15 +--------------
 drivers/rtc/rtc-tps6586x.c             |   15 +--------------
 drivers/rtc/rtc-tps80031.c             |   15 +--------------
 include/linux/mfd/tps80031.h           |   15 +--------------
 12 files changed, 12 insertions(+), 168 deletions(-)
drivers/mfd/tps80031.c +1 -14
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * tps80031.c -- TI TPS80031/TPS80032 mfd core driver.
  *
@@ -7,20 +8,6 @@
  * Copyright (c) 2012, NVIDIA Corporation.
  *
  * Author: Laxman Dewangan <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind,
- * whether express or implied; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- * 02111-1307, USA
  */
 
 #include <linux/err.h>
drivers/pinctrl/pinctrl-as3722.c +1 -14
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ams AS3722 pin control and GPIO driver.
  *
  * Copyright (c) 2013, NVIDIA Corporation.
  *
  * Author: Laxman Dewangan <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind,
- * whether express or implied; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- * 02111-1307, USA
  */
 
 #include <linux/delay.h>
drivers/pinctrl/pinctrl-palmas.c +1 -14
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * pinctrl-palmas.c -- TI PALMAS series pin control driver.
  *
  * Copyright (c) 2013, NVIDIA Corporation.
  *
  * Author: Laxman Dewangan <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind,
- * whether express or implied; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- * 02111-1307, USA
  */
 
 #include <linux/delay.h>
drivers/pinctrl/pinctrl-utils.c +1 -14
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Utils functions to implement the pincontrol driver.
  *
  * Copyright (c) 2013, NVIDIA Corporation.
  *
  * Author: Laxman Dewangan <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind,
- * whether express or implied; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- * 02111-1307, USA
  */
 #include <linux/device.h>
 #include <linux/export.h>
drivers/pinctrl/pinctrl-utils.h +1 -14
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Utils functions to implement the pincontrol driver.
  *
  * Copyright (c) 2013, NVIDIA Corporation.
  *
  * Author: Laxman Dewangan <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind,
- * whether express or implied; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- * 02111-1307, USA
  */
 #ifndef __PINCTRL_UTILS_H__
 #define __PINCTRL_UTILS_H__
drivers/regulator/max8973-regulator.c +1 -14
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * max8973-regulator.c -- Maxim max8973
  *
@@ -6,20 +7,6 @@
  * Copyright (c) 2012, NVIDIA Corporation.
  *
  * Author: Laxman Dewangan <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind,
- * whether express or implied; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- * 02111-1307, USA
  */
 
 #include <linux/kernel.h>
drivers/regulator/tps51632-regulator.c +1 -14
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * tps51632-regulator.c -- TI TPS51632
  *
@@ -7,20 +8,6 @@
  * Copyright (c) 2012, NVIDIA Corporation.
  *
  * Author: Laxman Dewangan <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind,
- * whether express or implied; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- * 02111-1307, USA
  */
 
 #include <linux/err.h>
drivers/regulator/tps62360-regulator.c +1 -14
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * tps62360.c -- TI tps62360
  *
@@ -6,20 +7,6 @@
  * Copyright (c) 2012, NVIDIA Corporation.
  *
  * Author: Laxman Dewangan <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind,
- * whether express or implied; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- * 02111-1307, USA
  */
 
 #include <linux/kernel.h>
drivers/rtc/rtc-palmas.c +1 -14
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * rtc-palmas.c -- Palmas Real Time Clock driver.
 
@@ -7,20 +8,6 @@
  * Copyright (c) 2012, NVIDIA Corporation.
  *
  * Author: Laxman Dewangan <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind,
- * whether express or implied; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- * 02111-1307, USA
  */
 
 #include <linux/bcd.h>
drivers/rtc/rtc-tps6586x.c +1 -14
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * rtc-tps6586x.c: RTC driver for TI PMIC TPS6586X
  *
  * Copyright (c) 2012, NVIDIA Corporation.
  *
  * Author: Laxman Dewangan <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind,
- * whether express or implied; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- * 02111-1307, USA
  */
 
 #include <linux/device.h>
drivers/rtc/rtc-tps80031.c +1 -14
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * rtc-tps80031.c -- TI TPS80031/TPS80032 RTC driver
  *
@@ -7,20 +8,6 @@
  * Copyright (c) 2012, NVIDIA Corporation.
  *
  * Author: Laxman Dewangan <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind,
- * whether express or implied; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- * 02111-1307, USA
  */
 
 #include <linux/bcd.h>
include/linux/mfd/tps80031.h +1 -14
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * tps80031.h -- TI TPS80031 and TI TPS80032 PMIC driver.
  *
  * Copyright (c) 2012, NVIDIA Corporation.
  *
  * Author: Laxman Dewangan <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind,
- * whether express or implied; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- * 02111-1307, USA
  */
 
 #ifndef __LINUX_MFD_TPS80031_H
#3 lore raw

PATCH 2/6 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 304

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation version 2 this program is distributed as is without any warranty of any kind whether express or implied without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

Bucket: ASIS-1

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=asis-1&id=d1483ad28fef

---
 arch/arm/boot/dts/bcm11351.dtsi                              |   10 -------
 arch/arm/boot/dts/bcm21664-garnet.dts                        |   10 -------
 arch/arm/boot/dts/bcm21664.dtsi                              |   10 -------
 arch/arm/boot/dts/bcm28155-ap.dts                            |   10 -------
 arch/arm/boot/dts/dra72x-mmc-iodelay.dtsi                    |   10 -------
 arch/arm/boot/dts/dra74x-mmc-iodelay.dtsi                    |   10 -------
 arch/arm/include/debug/brcmstb.S                             |   10 -------
 arch/arm/mach-bcm/Makefile                                   |    9 -------
 arch/arm/mach-bcm/bcm63xx.c                                  |   10 -------
 arch/arm/mach-bcm/bcm_cygnus.c                               |   10 -------
 arch/arm/mach-bcm/bcm_hr2.c                                  |   10 -------
 arch/arm/mach-bcm/bcm_kona_smc.c                             |   10 -------
 arch/arm/mach-bcm/bcm_kona_smc.h                             |   10 -------
 arch/arm/mach-bcm/bcm_nsp.c                                  |   10 -------
 arch/arm/mach-bcm/board_bcm21664.c                           |   10 -------
 arch/arm/mach-bcm/board_bcm23550.c                           |   10 -------
 arch/arm/mach-bcm/board_bcm281xx.c                           |   10 -------
 arch/arm/mach-bcm/brcmstb.c                                  |   10 -------
 arch/arm/mach-bcm/kona_l2_cache.c                            |   10 -------
 arch/arm/mach-bcm/kona_l2_cache.h                            |   10 -------
 arch/arm/mach-bcm/platsmp-brcmstb.c                          |   10 -------
 arch/arm/mach-davinci/board-dm365-evm.c                      |   10 -------
 arch/arm/mach-davinci/davinci.h                              |   10 -------
 arch/arm/mach-davinci/dm365.c                                |   10 -------
 arch/arm/mach-davinci/include/mach/pm.h                      |   10 -------
 arch/arm/mach-omap1/gpio15xx.c                               |   10 -------
 arch/arm/mach-omap1/gpio16xx.c                               |   10 -------
 arch/arm/mach-omap1/gpio7xx.c                                |   10 -------
 arch/arm/mach-omap2/am33xx.h                                 |   10 -------
 arch/arm/mach-omap2/clockdomains33xx_data.c                  |   10 -------
 arch/arm/mach-omap2/clockdomains81xx_data.c                  |   10 -------
 arch/arm/mach-omap2/cm-regbits-33xx.h                        |   10 -------
 arch/arm/mach-omap2/cm33xx.c                                 |   10 -------
 arch/arm/mach-omap2/cm33xx.h                                 |   10 -------
 arch/arm/mach-omap2/cm81xx.h                                 |   10 -------
 arch/arm/mach-omap2/omap_hwmod_33xx_43xx_common_data.h       |   10 -------
 arch/arm/mach-omap2/omap_hwmod_33xx_43xx_interconnect_data.c |   10 -------
 arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c      |   10 -------
 arch/arm/mach-omap2/omap_hwmod_33xx_data.c                   |    9 -------
 arch/arm/mach-omap2/omap_hwmod_43xx_data.c                   |   10 -------
 arch/arm/mach-omap2/omap_hwmod_81xx_data.c                   |   11 --------
 arch/arm/mach-omap2/powerdomains33xx_data.c                  |   10 -------
 arch/arm/mach-omap2/prm-regbits-33xx.h                       |   10 -------
 arch/arm/mach-omap2/prm33xx.c                                |   10 -------
 arch/arm/mach-omap2/prm33xx.h                                |   10 -------
 arch/arm/mach-omap2/ti81xx.h                                 |   10 -------
 drivers/char/hw_random/iproc-rng200.c                        |   10 -------
 drivers/clk/bcm/clk-bcm21664.c                               |   10 -------
 drivers/clk/bcm/clk-bcm281xx.c                               |   10 -------
 drivers/clk/bcm/clk-bcm63xx.c                                |   10 -------
 drivers/clk/bcm/clk-cygnus.c                                 |   10 -------
 drivers/clk/bcm/clk-hr2.c                                    |   10 -------
 drivers/clk/bcm/clk-iproc-armpll.c                           |   10 -------
 drivers/clk/bcm/clk-iproc-asiu.c                             |   10 -------
 drivers/clk/bcm/clk-iproc-pll.c                              |   10 -------
 drivers/clk/bcm/clk-iproc.h                                  |   10 -------
 drivers/clk/bcm/clk-kona-setup.c                             |   10 -------
 drivers/clk/bcm/clk-kona.c                                   |   10 -------
 drivers/clk/bcm/clk-kona.h                                   |   10 -------
 drivers/clk/bcm/clk-ns2.c                                    |   10 -------
 drivers/clk/bcm/clk-nsp.c                                    |   10 -------
 drivers/clk/clk-palmas.c                                     |   10 -------
 drivers/clk/ti/adpll.c                                       |    9 -------
 drivers/clk/ti/clk-2xxx.c                                    |   10 -------
 drivers/clk/ti/clk-33xx-compat.c                             |   10 -------
 drivers/clk/ti/clk-33xx.c                                    |   10 -------
 drivers/clk/ti/clk-3xxx.c                                    |   10 -------
 drivers/clk/ti/clk-43xx-compat.c                             |   10 -------
 drivers/clk/ti/clk-43xx.c                                    |   10 -------
 drivers/clk/ti/clk-816x.c                                    |    9 -------
 drivers/clk/ti/clock.h                                       |   10 -------
 drivers/clk/ti/fapll.c                                       |    9 -------
 drivers/clocksource/bcm_kona_timer.c                         |   10 -------
 drivers/cpufreq/bmips-cpufreq.c                              |   10 -------
 drivers/cpufreq/brcmstb-avs-cpufreq.c                        |   10 -------
 drivers/dma/bcm-sba-raid.c                                   |   10 -------
 drivers/dma/ti/edma.c                                        |   10 -------
 drivers/gpio/gpio-bcm-kona.c                                 |   10 -------
 drivers/gpio/gpio-brcmstb.c                                  |   10 -------
 drivers/gpu/drm/omapdrm/omap_dmm_priv.h                      |   10 -------
 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c                     |   10 -------
 drivers/gpu/drm/omapdrm/omap_dmm_tiler.h                     |   10 -------
 drivers/i2c/busses/i2c-bcm-iproc.c                           |   10 -------
 drivers/i2c/busses/i2c-bcm-kona.c                            |   10 -------
 drivers/i2c/busses/i2c-brcmstb.c                             |   10 -------
 drivers/iio/adc/ti_am335x_adc.c                              |   10 -------
 drivers/input/keyboard/bcm-keypad.c                          |   10 -------
 drivers/input/misc/gpio_decoder.c                            |   10 -------
 drivers/input/touchscreen/bcm_iproc_tsc.c                    |   10 -------
 drivers/input/touchscreen/ti_am335x_tsc.c                    |   10 -------
 drivers/irqchip/irq-keystone.c                               |   10 -------
 drivers/mailbox/bcm-flexrm-mailbox.c                         |   10 -------
 drivers/media/i2c/adv7343.c                                  |   10 -------
 drivers/media/i2c/adv7343_regs.h                             |   10 -------
 drivers/media/i2c/adv7393.c                                  |   10 -------
 drivers/media/i2c/adv7393_regs.h                             |   10 -------
 drivers/media/i2c/ov5647.c                                   |   10 -------
 drivers/media/i2c/ths7303.c                                  |   10 -------
 drivers/media/i2c/ths8200.c                                  |   14 -----------
 drivers/media/i2c/ths8200_regs.h                             |   14 -----------
 drivers/media/platform/davinci/vpif.c                        |   10 -------
 drivers/media/platform/davinci/vpif.h                        |   10 -------
 drivers/media/platform/davinci/vpif_display.c                |   10 -------
 drivers/media/platform/davinci/vpif_display.h                |   10 -------
 drivers/memory/emif-asm-offsets.c                            |   10 -------
 drivers/memory/ti-emif-sram-pm.S                             |   10 -------
 drivers/mfd/lp873x.c                                         |   10 -------
 drivers/mfd/ti_am335x_tscadc.c                               |   10 -------
 drivers/mfd/tps65217.c                                       |   10 -------
 drivers/mmc/host/sdhci-bcm-kona.c                            |   10 -------
 drivers/mmc/host/sdhci-iproc.c                               |   10 -------
 drivers/net/can/ti_hecc.c                                    |   11 --------
 drivers/net/ethernet/broadcom/bgmac-platform.c               |   10 -------
 drivers/nvmem/bcm-ocotp.c                                    |   10 -------
 drivers/phy/broadcom/phy-bcm-cygnus-pcie.c                   |   10 -------
 drivers/phy/broadcom/phy-bcm-ns2-pcie.c                      |   10 -------
 drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c                    |   10 -------
 drivers/phy/motorola/phy-cpcap-usb.c                         |   10 -------
 drivers/phy/ti/phy-dm816x-usb.c                              |    9 -------
 drivers/pinctrl/bcm/pinctrl-bcm281xx.c                       |   10 -------
 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c                     |   10 -------
 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c                     |   10 -------
 drivers/pinctrl/bcm/pinctrl-ns2-mux.c                        |   10 -------
 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c                       |   10 -------
 drivers/pinctrl/bcm/pinctrl-nsp-mux.c                        |   10 -------
 drivers/power/reset/brcm-kona-reset.c                        |   10 -------
 drivers/power/reset/brcmstb-reboot.c                         |   10 -------
 drivers/ptp/ptp_dte.c                                        |   10 -------
 drivers/pwm/pwm-bcm-iproc.c                                  |   10 -------
 drivers/pwm/pwm-bcm-kona.c                                   |   10 -------
 drivers/regulator/cpcap-regulator.c                          |   10 -------
 drivers/regulator/isl6271a-regulator.c                       |   10 -------
 drivers/regulator/pbias-regulator.c                          |   10 -------
 drivers/regulator/tps65023-regulator.c                       |   10 -------
 drivers/regulator/tps6507x-regulator.c                       |   10 -------
 drivers/regulator/tps65217-regulator.c                       |   10 -------
 drivers/regulator/tps6524x-regulator.c                       |   10 -------
 drivers/soc/ti/knav_dma.c                                    |   10 -------
 drivers/uio/uio_pruss.c                                      |   10 -------
 drivers/vfio/platform/reset/vfio_platform_bcmflexrm.c        |   10 -------
 drivers/video/backlight/tps65217_bl.c                        |   10 -------
 include/dt-bindings/clock/bcm21664.h                         |   10 -------
 include/dt-bindings/clock/bcm281xx.h                         |   10 -------
 include/linux/edma.h                                         |   10 -------
 include/linux/mfd/lp873x.h                                   |   10 -------
 include/linux/mfd/ti_am335x_tscadc.h                         |   10 -------
 include/linux/mfd/tps65217.h                                 |   10 -------
 include/linux/platform_data/davinci_asp.h                    |   10 -------
 include/linux/platform_data/gpio-davinci.h                   |   10 -------
 include/linux/platform_data/uio_dmem_genirq.h                |   10 -------
 include/linux/platform_data/uio_pruss.h                      |   10 -------
 include/linux/reset/bcm63xx_pmb.h                            |   10 -------
 include/linux/soc/ti/knav_dma.h                              |   10 -------
 include/linux/soc/ti/knav_qmss.h                             |   10 -------
 include/linux/sram.h                                         |   10 -------
 include/linux/ti-emif-sram.h                                 |   10 -------
 include/linux/wkup_m3_ipc.h                                  |   10 -------
 include/media/i2c/adv7343.h                                  |   10 -------
 include/media/i2c/adv7393.h                                  |   10 -------
 net/hsr/hsr_debugfs.c                                        |   10 -------
 sound/soc/bcm/cygnus-pcm.c                                   |   10 -------
 sound/soc/bcm/cygnus-ssp.c                                   |   10 -------
 sound/soc/bcm/cygnus-ssp.h                                   |   10 -------
 163 files changed, 163 insertions(+), 1471 deletions(-)
arch/arm/boot/dts/bcm11351.dtsi +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2012-2013 Broadcom Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
arch/arm/boot/dts/bcm21664-garnet.dts +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014 Broadcom Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 /dts-v1/;
arch/arm/boot/dts/bcm21664.dtsi +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014 Broadcom Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
arch/arm/boot/dts/bcm28155-ap.dts +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2013 Broadcom Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 /dts-v1/;
arch/arm/boot/dts/dra72x-mmc-iodelay.dtsi +1 -9
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * MMC IOdelay values for TI's DRA72x, DRA71x and AM571x SoCs.
  *
  * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 /*
arch/arm/boot/dts/dra74x-mmc-iodelay.dtsi +1 -9
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * MMC IOdelay values for TI's DRA74x, DRA75x and AM572x SoCs.
  *
  * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 /*
arch/arm/include/debug/brcmstb.S +1 -9
@@ -1,14 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #include <linux/serial_reg.h>
 #include <asm/cputype.h>
arch/arm/mach-bcm/Makefile +1 -8
@@ -1,14 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Copyright (C) 2012-2015 Broadcom Corporation
 #
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation version 2.
-#
-# This program is distributed "as is" WITHOUT ANY WARRANTY of any
-# kind, whether express or implied; without even the implied warranty
-# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
 
 # Cygnus
 obj-$(CONFIG_ARCH_BCM_CYGNUS) +=  bcm_cygnus.o
arch/arm/mach-bcm/bcm63xx.c +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014 Broadcom Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/of_platform.h>
arch/arm/mach-bcm/bcm_cygnus.c +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014 Broadcom Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <asm/mach/arch.h>
arch/arm/mach-bcm/bcm_hr2.c +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2017 Broadcom
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <asm/mach/arch.h>
arch/arm/mach-bcm/bcm_kona_smc.c +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2013 Broadcom Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <stdarg.h>
arch/arm/mach-bcm/bcm_kona_smc.h +1 -9
@@ -1,14 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2013 Broadcom Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef BCM_KONA_SMC_H
arch/arm/mach-bcm/bcm_nsp.c +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2015 Broadcom Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <asm/mach/arch.h>
arch/arm/mach-bcm/board_bcm21664.c +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014 Broadcom Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <asm/mach/arch.h>
arch/arm/mach-bcm/board_bcm23550.c +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/of_platform.h>
arch/arm/mach-bcm/board_bcm281xx.c +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2012-2014 Broadcom Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clocksource.h>
arch/arm/mach-bcm/brcmstb.c +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2013-2014 Broadcom Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/init.h>
arch/arm/mach-bcm/kona_l2_cache.c +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2012-2014 Broadcom Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 
arch/arm/mach-bcm/kona_l2_cache.h +1 -9
@@ -1,14 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2012-2014 Broadcom Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifdef CONFIG_ARCH_BCM_MOBILE_L2_CACHE
arch/arm/mach-bcm/platsmp-brcmstb.c +1 -9
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Broadcom STB CPU SMP and hotplug support for ARM
  *
  * Copyright (C) 2013-2014 Broadcom Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/delay.h>
arch/arm/mach-davinci/board-dm365-evm.c +1 -9
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI DaVinci DM365 EVM board support
  *
  * Copyright (C) 2009 Texas Instruments Incorporated
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #include <linux/kernel.h>
 #include <linux/init.h>
arch/arm/mach-davinci/davinci.h +1 -9
@@ -1,18 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * This file contains the processor specific definitions
  * of the TI DM644x, DM355, DM365, and DM646x.
  *
  * Copyright (C) 2011 Texas Instruments Incorporated
  * Copyright (c) 2007 Deep Root Systems, LLC
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #ifndef __DAVINCI_H
 #define __DAVINCI_H
arch/arm/mach-davinci/dm365.c +1 -9
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI DaVinci DM365 chip specific setup
  *
  * Copyright (C) 2009 Texas Instruments
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk-provider.h>
arch/arm/mach-davinci/include/mach/pm.h +1 -9
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * TI DaVinci platform support for power management.
  *
  * Copyright (C) 2009 Texas Instruments, Inc. http://www.ti.com/
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #ifndef _MACH_DAVINCI_PM_H
 #define _MACH_DAVINCI_PM_H
arch/arm/mach-omap1/gpio15xx.c +1 -9
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OMAP15xx specific gpio init
  *
@@ -5,15 +6,6 @@
  *
  * Author:
  *	Charulatha V <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/gpio.h>
arch/arm/mach-omap1/gpio16xx.c +1 -9
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OMAP16xx specific gpio init
  *
@@ -5,15 +6,6 @@
  *
  * Author:
  *	Charulatha V <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/gpio.h>
arch/arm/mach-omap1/gpio7xx.c +1 -9
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OMAP7xx specific gpio init
  *
@@ -5,15 +6,6 @@
  *
  * Author:
  *	Charulatha V <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/gpio.h>
arch/arm/mach-omap2/am33xx.h +1 -9
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * This file contains the address info for various AM33XX modules.
  *
  * Copyright (C) 2011 Texas Instruments, Inc. - http://www.ti.com/
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef __ASM_ARCH_AM33XX_H
arch/arm/mach-omap2/clockdomains33xx_data.c +1 -9
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * AM33XX Clock Domain data.
  *
  * Copyright (C) 2011-2012 Texas Instruments Incorporated - http://www.ti.com/
  * Vaibhav Hiremath <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/kernel.h>
arch/arm/mach-omap2/clockdomains81xx_data.c +1 -5
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI81XX Clock Domain data.
  *
  * Copyright (C) 2010 Texas Instruments, Inc. - http://www.ti.com/
  * Copyright (C) 2013 SKTB SKiT, http://www.skitlab.ru/
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
 
 
#7 lore raw

PATCH 4/6 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 318

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is distributed as is without any warranty of any kind whether expressed or implied without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license version 2 for more details

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

Bucket: ASIS-1

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=asis-1&id=aa8392eddbc1

---
 drivers/gpio/gpio-bd9571mwv.c          |   10 +---------
 drivers/gpio/gpio-lp873x.c             |   10 +---------
 drivers/gpio/gpio-lp87565.c            |   10 +---------
 drivers/gpio/gpio-pisosr.c             |   10 +---------
 drivers/gpio/gpio-tpic2810.c           |   10 +---------
 drivers/gpio/gpio-ts4900.c             |   10 +---------
 drivers/mfd/bd9571mwv.c                |   10 +---------
 drivers/mfd/tps65086.c                 |   10 +---------
 drivers/mfd/tps65218.c                 |   10 +---------
 drivers/mfd/tps65912-core.c            |   10 +---------
 drivers/mfd/tps65912-i2c.c             |   10 +---------
 drivers/mfd/tps65912-spi.c             |   10 +---------
 drivers/regulator/lp873x-regulator.c   |   10 +---------
 drivers/regulator/tps65086-regulator.c |   10 +---------
 drivers/regulator/tps65218-regulator.c |   10 +---------
 drivers/regulator/tps65912-regulator.c |   10 +---------
 include/linux/mfd/bd9571mwv.h          |   10 +---------
 include/linux/mfd/tps65086.h           |   10 +---------
 include/linux/mfd/tps65218.h           |   10 +---------
 include/linux/mfd/tps65912.h           |   10 +---------
 20 files changed, 20 insertions(+), 180 deletions(-)
drivers/gpio/gpio-bd9571mwv.c +1 -9
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ROHM BD9571MWV-M GPIO driver
  *
  * Copyright (C) 2017 Marek Vasut <[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
- *
  * Based on the TPS65086 driver
  *
  * NOTE: Interrupts are not supported yet.
drivers/gpio/gpio-lp873x.c +1 -9
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
  *	Keerthy <[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
- *
  * Based on the TPS65218 driver
  */
 
drivers/gpio/gpio-lp87565.c +1 -9
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
  *	Keerthy <[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
- *
  * Based on the LP873X driver
  */
 
drivers/gpio/gpio-pisosr.c +1 -9
@@ -1,15 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
  *	Andrew F. Davis <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
  */
 
 #include <linux/bitmap.h>
drivers/gpio/gpio-tpic2810.c +1 -9
@@ -1,15 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
  *	Andrew F. Davis <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
  */
 
 #include <linux/gpio/driver.h>
drivers/gpio/gpio-ts4900.c +1 -9
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Digital I/O driver for Technologic Systems I2C FPGA Core
  *
  * Copyright (C) 2015 Technologic Systems
  * Copyright (C) 2016 Savoir-Faire Linux
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
  */
 
 #include <linux/gpio/driver.h>
drivers/mfd/bd9571mwv.c +1 -9
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ROHM BD9571MWV-M MFD driver
  *
  * Copyright (C) 2017 Marek Vasut <[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
- *
  * Based on the TPS65086 driver
  */
 
drivers/mfd/tps65086.c +1 -9
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
  *	Andrew F. Davis <[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
- *
  * Based on the TPS65912 driver
  */
 
drivers/mfd/tps65218.c +1 -9
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for TPS65218 Integrated power management chipsets
  *
  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
  */
 
 #include <linux/kernel.h>
drivers/mfd/tps65912-core.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Core functions for TI TPS65912x PMICs
  *
  * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
  *	Andrew F. Davis <[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
- *
  * Based on the TPS65218 driver and the previous TPS65912 driver by
  * Margarita Olaya Cabrera <[email protected]>
  */
drivers/mfd/tps65912-i2c.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * I2C access driver for TI TPS65912x PMICs
  *
  * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
  *	Andrew F. Davis <[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
- *
  * Based on the TPS65218 driver and the previous TPS65912 driver by
  * Margarita Olaya Cabrera <[email protected]>
  */
drivers/mfd/tps65912-spi.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * SPI access driver for TI TPS65912x PMICs
  *
  * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
  *	Andrew F. Davis <[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
- *
  * Based on the TPS65218 driver and the previous TPS65912 driver by
  * Margarita Olaya Cabrera <[email protected]>
  */
drivers/regulator/lp873x-regulator.c +1 -9
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Regulator driver for LP873X PMIC
  *
  * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
  */
 
 #include <linux/module.h>
drivers/regulator/tps65086-regulator.c +1 -9
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
  *
  * Author: Andrew F. Davis <[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
- *
  * Based on the TPS65912 driver
  */
 
drivers/regulator/tps65218-regulator.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * tps65218-regulator.c
  *
  * Regulator driver for TPS65218 PMIC
  *
  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
  */
 
 #include <linux/kernel.h>
drivers/regulator/tps65912-regulator.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Regulator driver for TI TPS65912x PMICs
  *
  * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
  *	Andrew F. Davis <[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
- *
  * Based on the TPS65218 driver and the previous TPS65912 driver by
  * Margarita Olaya Cabrera <[email protected]>
  */
include/linux/mfd/bd9571mwv.h +1 -9
@@ -1,17 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * ROHM BD9571MWV-M driver
  *
  * Copyright (C) 2017 Marek Vasut <[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
- *
  * Based on the TPS65086 driver
  */
 
include/linux/mfd/tps65086.h +1 -9
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
  *	Andrew F. Davis <[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
- *
  * Based on the TPS65912 driver
  */
 
include/linux/mfd/tps65218.h +1 -9
@@ -1,18 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * linux/mfd/tps65218.h
  *
  * Functions to access TPS65219 power management chip.
  *
  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
  */
 
 #ifndef __LINUX_MFD_TPS65218_H
include/linux/mfd/tps65912.h +1 -9
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
  *	Andrew F. Davis <[email protected]>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License version 2 for more details.
- *
  * Based on the TPS65218 driver and the previous TPS65912 driver by
  * Margarita Olaya Cabrera <[email protected]>
  */
#9 lore raw

PATCH 5/6 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 319

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is distributed as is without any warranty of any kind whether express or implied without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

Bucket: ASIS-1

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=asis-1&id=402efea8920e

---
 arch/arm/mach-omap1/timer.c                      |   10 +---------
 arch/arm/mach-omap2/display.c                    |   10 +---------
 arch/arm/mach-omap2/omap_opp_data.h              |   10 +---------
 arch/arm/mach-omap2/opp3xxx_data.c               |   10 +---------
 arch/arm/mach-omap2/opp4xxx_data.c               |   10 +---------
 arch/arm/mach-vexpress/spc.c                     |   10 +---------
 drivers/bus/arm-cci.c                            |   10 +---------
 drivers/bus/omap_l3_noc.c                        |   10 +---------
 drivers/bus/omap_l3_noc.h                        |   10 +---------
 drivers/bus/ti-sysc.c                            |   10 +---------
 drivers/clk/keystone/sci-clk.c                   |   10 +---------
 drivers/clk/ti/apll.c                            |   10 +---------
 drivers/clk/ti/autoidle.c                        |   10 +---------
 drivers/clk/ti/clk-dra7-atl.c                    |   10 +---------
 drivers/clk/ti/clk.c                             |   10 +---------
 drivers/clk/ti/clkctrl.c                         |   10 +---------
 drivers/clk/ti/clkt_dflt.c                       |   10 +---------
 drivers/clk/ti/clockdomain.c                     |   10 +---------
 drivers/clk/ti/composite.c                       |   10 +---------
 drivers/clk/ti/divider.c                         |   10 +---------
 drivers/clk/ti/dpll.c                            |   10 +---------
 drivers/clk/ti/fixed-factor.c                    |   10 +---------
 drivers/clk/ti/gate.c                            |   10 +---------
 drivers/clk/ti/interface.c                       |   10 +---------
 drivers/clk/ti/mux.c                             |   10 +---------
 drivers/cpufreq/arm_big_little.c                 |   10 +---------
 drivers/cpufreq/arm_big_little.h                 |   10 +---------
 drivers/cpufreq/scpi-cpufreq.c                   |   10 +---------
 drivers/cpufreq/vexpress-spc-cpufreq.c           |   10 +---------
 drivers/hwmon/scpi-hwmon.c                       |   10 +---------
 drivers/input/misc/palmas-pwrbutton.c            |   10 +---------
 drivers/input/misc/tps65218-pwrbutton.c          |   10 +---------
 drivers/media/platform/am437x/am437x-vpfe_regs.h |   10 +---------
 drivers/misc/sram-exec.c                         |   10 +---------
 drivers/power/supply/bq27xxx_battery_hdq.c       |   10 +---------
 drivers/power/supply/bq27xxx_battery_i2c.c       |   10 +---------
 drivers/power/supply/cpcap-battery.c             |   10 +---------
 drivers/power/supply/lego_ev3_battery.c          |   10 +---------
 drivers/regulator/ti-abb-regulator.c             |   10 +---------
 drivers/reset/reset-ti-sci.c                     |   10 +---------
 drivers/reset/reset-ti-syscon.c                  |   10 +---------
 drivers/thermal/devfreq_cooling.c                |   10 +---------
 drivers/thermal/hisi_thermal.c                   |   10 +---------
 drivers/thermal/power_allocator.c                |   10 +---------
 include/dt-bindings/clk/ti-dra7-atl.h            |   10 +---------
 include/dt-bindings/pinctrl/hisi.h               |   10 +---------
 include/dt-bindings/pinctrl/keystone.h           |   10 +---------
 include/linux/clk/ti.h                           |   10 +---------
 include/linux/devfreq_cooling.h                  |   10 +---------
 include/linux/pm_wakeirq.h                       |   10 +---------
 include/linux/soc/ti/ti-msgmgr.h                 |   10 +---------
 51 files changed, 51 insertions(+), 459 deletions(-)
arch/arm/mach-omap1/timer.c +1 -9
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * OMAP1 Dual-Mode Timers - platform device registration
  *
@@ -9,15 +10,6 @@
  * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
  * Tarun Kanti DebBarma <[email protected]>
  * Thara Gopinath <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk.h>
arch/arm/mach-omap2/display.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OMAP2plus display device setup / initialization.
  *
  * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
  *	Senthilvadivu Guruswamy
  *	Sumit Semwal
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/string.h>
arch/arm/mach-omap2/omap_opp_data.h +1 -9
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * OMAP SoC specific OPP Data helpers
  *
@@ -6,15 +7,6 @@
  *	Kevin Hilman
  * Copyright (C) 2010 Nokia Corporation.
  *      Eduardo Valentin
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #ifndef __ARCH_ARM_MACH_OMAP2_OMAP_OPP_DATA_H
 #define __ARCH_ARM_MACH_OMAP2_OMAP_OPP_DATA_H
arch/arm/mach-omap2/opp3xxx_data.c +1 -9
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OMAP3 OPP table definitions.
  *
@@ -7,15 +8,6 @@
  * Copyright (C) 2010-2011 Nokia Corporation.
  *      Eduardo Valentin
  *      Paul Walmsley
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #include <linux/module.h>
 
arch/arm/mach-omap2/opp4xxx_data.c +1 -9
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OMAP4 OPP table definitions.
  *
@@ -8,15 +9,6 @@
  * Copyright (C) 2010-2011 Nokia Corporation.
  *      Eduardo Valentin
  *      Paul Walmsley
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #include <linux/module.h>
 
arch/arm/mach-vexpress/spc.c +1 -9
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Versatile Express Serial Power Controller (SPC) support
  *
@@ -6,15 +7,6 @@
  * Authors: Sudeep KarkadaNagesha <[email protected]>
  *          Achin Gupta           <[email protected]>
  *          Lorenzo Pieralisi     <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk-provider.h>
drivers/bus/arm-cci.c +1 -9
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * CCI cache coherent interconnect driver
  *
  * Copyright (C) 2013 ARM Ltd.
  * Author: Lorenzo Pieralisi <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/arm-cci.h>
drivers/bus/omap_l3_noc.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OMAP L3 Interconnect error handling driver
  *
  * Copyright (C) 2011-2015 Texas Instruments Incorporated - http://www.ti.com/
  *	Santosh Shilimkar <[email protected]>
  *	Sricharan <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #include <linux/init.h>
 #include <linux/interrupt.h>
drivers/bus/omap_l3_noc.h +1 -9
@@ -1,18 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * OMAP L3 Interconnect  error handling driver header
  *
  * Copyright (C) 2011-2015 Texas Instruments Incorporated - http://www.ti.com/
  *	Santosh Shilimkar <[email protected]>
  *	sricharan <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #ifndef __OMAP_L3_NOC_H
 #define __OMAP_L3_NOC_H
drivers/bus/ti-sysc.c +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ti-sysc.c - Texas Instruments sysc interconnect target driver
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/io.h>
drivers/clk/keystone/sci-clk.c +1 -9
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * SCI Clock driver for keystone based devices
  *
  * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
  *	Tero Kristo <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #include <linux/clk-provider.h>
 #include <linux/err.h>
drivers/clk/ti/apll.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OMAP APLL clock support
  *
  * Copyright (C) 2013 Texas Instruments, Inc.
  *
  * J Keerthy <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk.h>
drivers/clk/ti/autoidle.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI clock autoidle support
  *
  * Copyright (C) 2013 Texas Instruments, Inc.
  *
  * Tero Kristo <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk-provider.h>
drivers/clk/ti/clk-dra7-atl.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * DRA7 ATL (Audio Tracking Logic) clock driver
  *
  * Copyright (C) 2013 Texas Instruments, Inc.
  *
  * Peter Ujfalusi <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/init.h>
drivers/clk/ti/clk.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI clock support
  *
  * Copyright (C) 2013 Texas Instruments, Inc.
  *
  * Tero Kristo <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk.h>
drivers/clk/ti/clkctrl.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OMAP clkctrl clock support
  *
  * Copyright (C) 2017 Texas Instruments, Inc.
  *
  * Tero Kristo <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk-provider.h>
drivers/clk/ti/clkt_dflt.c +1 -9
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Default clock type
  *
@@ -8,15 +9,6 @@
  * Richard Woodruff <[email protected]>
  * Paul Walmsley
  * Tero Kristo <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/kernel.h>
drivers/clk/ti/clockdomain.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OMAP clockdomain support
  *
  * Copyright (C) 2013 Texas Instruments, Inc.
  *
  * Tero Kristo <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk.h>
drivers/clk/ti/composite.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI composite clock support
  *
  * Copyright (C) 2013 Texas Instruments, Inc.
  *
  * Tero Kristo <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk-provider.h>
drivers/clk/ti/divider.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI Divider Clock
  *
  * Copyright (C) 2013 Texas Instruments, Inc.
  *
  * Tero Kristo <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk-provider.h>
drivers/clk/ti/dpll.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OMAP DPLL clock support
  *
  * Copyright (C) 2013 Texas Instruments, Inc.
  *
  * Tero Kristo <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk.h>
drivers/clk/ti/fixed-factor.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI Fixed Factor Clock
  *
  * Copyright (C) 2013 Texas Instruments, Inc.
  *
  * Tero Kristo <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk-provider.h>
drivers/clk/ti/gate.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OMAP gate clock support
  *
  * Copyright (C) 2013 Texas Instruments, Inc.
  *
  * Tero Kristo <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk-provider.h>
drivers/clk/ti/interface.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * OMAP interface clock support
  *
  * Copyright (C) 2013 Texas Instruments, Inc.
  *
  * Tero Kristo <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk-provider.h>
drivers/clk/ti/mux.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI Multiplexer Clock
  *
  * Copyright (C) 2013 Texas Instruments, Inc.
  *
  * Tero Kristo <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk-provider.h>
drivers/cpufreq/arm_big_little.c +1 -9
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ARM big.LITTLE Platforms CPUFreq support
  *
@@ -6,15 +7,6 @@
  *
  * Copyright (C) 2013 Linaro.
  * Viresh Kumar <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
drivers/cpufreq/arm_big_little.h +1 -9
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * ARM big.LITTLE platform's CPUFreq header file
  *
@@ -6,15 +7,6 @@
  *
  * Copyright (C) 2013 Linaro.
  * Viresh Kumar <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 #ifndef CPUFREQ_ARM_BIG_LITTLE_H
 #define CPUFREQ_ARM_BIG_LITTLE_H
drivers/cpufreq/scpi-cpufreq.c +1 -9
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * System Control and Power Interface (SCPI) based CPUFreq Interface driver
  *
@@ -5,15 +6,6 @@
  *
  * Copyright (C) 2015 ARM Ltd.
  * Sudeep Holla <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
drivers/cpufreq/vexpress-spc-cpufreq.c +1 -9
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Versatile Express SPC CPUFreq Interface driver
  *
@@ -5,15 +6,6 @@
  *
  * Copyright (C) 2013 ARM Ltd.
  * Sudeep KarkadaNagesha <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
drivers/hwmon/scpi-hwmon.c +1 -9
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * System Control and Power Interface(SCPI) based hwmon sensor driver
  *
  * Copyright (C) 2015 ARM Ltd.
  * Punit Agrawal <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 #include <linux/hwmon.h>
drivers/input/misc/palmas-pwrbutton.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Texas Instruments' Palmas Power Button Input Driver
  *
  * Copyright (C) 2012-2014 Texas Instruments Incorporated - http://www.ti.com/
  *	Girish S Ghongdemath
  *	Nishanth Menon
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/init.h>
drivers/input/misc/tps65218-pwrbutton.c +1 -9
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Texas Instruments' TPS65217 and TPS65218 Power Button Input Driver
  *
  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
  * Author: Felipe Balbi <[email protected]>
  * Author: Marcin Niestroj <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/init.h>
drivers/media/platform/am437x/am437x-vpfe_regs.h +1 -9
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * TI AM437x Image Sensor Interface Registers
  *
@@ -5,15 +6,6 @@
  *
  * Benoit Parrot <[email protected]>
  * Lad, Prabhakar <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef AM437X_VPFE_REGS_H
drivers/misc/sram-exec.c +1 -9
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * SRAM protect-exec region helper functions
  *
  * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
  *	Dave Gerlach
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/device.h>
drivers/power/supply/bq27xxx_battery_hdq.c +1 -9
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * BQ27xxx battery monitor HDQ/1-wire driver
  *
  * Copyright (C) 2007-2017 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/kernel.h>
drivers/power/supply/bq27xxx_battery_i2c.c +1 -9
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * BQ27xxx battery monitor I2C driver
  *
  * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
  *	Andrew F. Davis <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/i2c.h>
drivers/power/supply/cpcap-battery.c +1 -9
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Battery driver for CPCAP PMIC
  *
@@ -7,15 +8,6 @@
  * drivers:
  *
  * Copyright (C) 2009-2010 Motorola, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/delay.h>
drivers/power/supply/lego_ev3_battery.c +1 -9
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Battery driver for LEGO MINDSTORMS EV3
  *
  * Copyright (C) 2017 David Lechner <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/delay.h>
drivers/regulator/ti-abb-regulator.c +1 -9
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Texas Instruments SoC Adaptive Body Bias(ABB) Regulator
  *
@@ -7,15 +8,6 @@
  * Copyright (C) 2012-2013 Texas Instruments, Inc.
  * Andrii Tseglytskyi <[email protected]>
  * Nishanth Menon <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #include <linux/clk.h>
 #include <linux/delay.h>
drivers/reset/reset-ti-sci.c +1 -3
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Texas Instrument's System Control Interface (TI-SCI) reset driver
  *
  * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/
  *	Andrew F. Davis <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
 
 
Reviewed-by Enrico Weigelt on the v1 series
#13 lore raw
In reply to Thomas Gleixner

On 05.06.19 10:15, Thomas Gleixner wrote:

Hi,

Quoted 15 lines

The first batch is from the 'AS IS' category. All patches in this series have the same modification of the standard GPLv2 disclaimer.

Standard disclaimer:

this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose

Modified diclaimer:

this program is distributed as is without any warranty of any kind whether express[ed] or implied without even the implied warranty of merchantability or fitness for a particular purpose

Quoted 5 lines

The NO WARRANTY section of the GPLv2 contains:

PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE

trying to switch in shyster (*1) mode ...

the modified disclaimer differs in:

a) - the expressed hope for usefulness (oh, the code is allowed to be completely beyond any hope ;-))
b) + really complete exclusion of any warranty whatsoever, implicitly interpreted one.

Who knows, what certain lawyers or judges out there on the high seas might make out of that ... :o

Quoted 2 lines

In my opinion the modified disclaimer contains nothing which is substantially different, but I might be wrong as usual.

With my human brain back online, I'd like to agree. Therefore, for the whole batch:

Quoted 9 lines

In case we agree on that, I would amend the changelogs of the individual patches with a paragraph explaining our conclusion. Something along the lines:

The patterns deviate from the standard GPLv2 disclaimer, but the modification does not expand beyond the standard disclaimer and the NO WARRANTY section of the GPLv2. So replacing the license notice including the modified disclaimer with the SPDX license identifier results in the same protections and conditions.

ACK.

--mtx

Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
#14 lore raw
In reply to Thomas Gleixner
Quoted 16 lines · Thomas Gleixner

The first batch is from the 'AS IS' category. All patches in this series have the same modification of the standard GPLv2 disclaimer.

Standard disclaimer:

this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose

Modified diclaimer:

this program is distributed as is without any warranty of any kind whether express[ed] or implied without even the implied warranty of merchantability or fitness for a particular purpose

Quoted 8 lines

The NO WARRANTY section of the GPLv2 contains:

PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE

In my opinion the modified disclaimer contains nothing which is substantially different, but I might be wrong as usual.

I agree, they seem to have simply copied disclaimer language from the GPLv2 and added it to the disclaimer notice. So they aren't adding any disclaimers beyond what would have applied to the file anyway, and the SPDX identifier is equivalent to the existing notice.

I'll go ahead and review the patches in this set positively, but I suggest waiting for at least one lawyer to review before moving ahead with these patches.

Quoted 11 lines

In case we agree on that, I would amend the changelogs of the individual patches with a paragraph explaining our conclusion. Something along the lines:

The patterns deviate from the standard GPLv2 disclaimer, but the modification does not expand beyond the standard disclaimer and the NO WARRANTY section of the GPLv2. So replacing the license notice including the modified disclaimer with the SPDX license identifier results in the same protections and conditions.

Feel free to suggest better wording or deeper explanation.

Seems fine to me. Maybe add the word "notice" to the end of the first sentence? It just seems a little confusing that the paragraph has the word "disclaimer" referring to both the file notice and the license itself. Someone else may have a better idea how to clarify.

Allison

Reviewed-by on v1 1/6
#2 lore raw

Re: [ASIS-1 patch 1/6] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 124

In reply to Thomas Gleixner
Quoted 15 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed as is without any warranty of any kind whether express or implied without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details

extracted by the scancode license scanner the SPDX license identifier

Quoted 7 lines

GPL-2.0-or-later

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

Bucket: ASIS-1

Reviewed-by on v1 2/6
#4 lore raw

Re: [ASIS-1 patch 2/6] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 304

In reply to Thomas Gleixner
Quoted 14 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation version 2 this program is distributed as is without any warranty of any kind whether express or implied without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details

extracted by the scancode license scanner the SPDX license identifier

Quoted 7 lines

GPL-2.0-only

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

Bucket: ASIS-1

Reviewed-by on v1 3/6
#6 lore raw

Re: [ASIS-1 patch 3/6] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 317

In reply to Thomas Gleixner
Quoted 16 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation version 2 this program is distributed as is without any warranty of any kind whether express or implied without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usa

extracted by the scancode license scanner the SPDX license identifier

Quoted 7 lines

GPL-2.0-only

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

Bucket: ASIS-1

Reviewed-by on v1 4/6
#8 lore raw

Re: [ASIS-1 patch 4/6] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 318

In reply to Thomas Gleixner
Quoted 14 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is distributed as is without any warranty of any kind whether expressed or implied without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license version 2 for more details

extracted by the scancode license scanner the SPDX license identifier

Quoted 7 lines

GPL-2.0-only

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

Bucket: ASIS-1

Reviewed-by on v1 5/6
#10 lore raw

Re: [ASIS-1 patch 5/6] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 319

In reply to Thomas Gleixner
Quoted 14 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is distributed as is without any warranty of any kind whether express or implied without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details

extracted by the scancode license scanner the SPDX license identifier

Quoted 7 lines

GPL-2.0-only

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

Bucket: ASIS-1

Reviewed-by on v1 6/6
#12 lore raw

Re: [ASIS-1 patch 6/6] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 413

In reply to Thomas Gleixner
Quoted 16 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation version 2 this program is distributed as is without any warranty of any kind whether express or implied without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 51 franklin st fifth floor boston ma 02110 1301 usa

extracted by the scancode license scanner the SPDX license identifier

Quoted 7 lines

GPL-2.0-only

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

Bucket: ASIS-1