linux-spdx.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: linux-spdx@vger.kernel.org
Subject: [Batch 16 patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 246
Date: Mon, 03 Jun 2019 07:45:02 +0200	[thread overview]
Message-ID: <20190602204654.922331175@linutronix.de> (raw)
In-Reply-To: 20190602204441.312079455@linutronix.de

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  released under the term of the gnu gpl v2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=179c9ec98290
---
 drivers/macintosh/rack-meter.c             |    4 +---
 drivers/macintosh/smu.c                    |    3 +--
 drivers/macintosh/windfarm.h               |    3 +--
 drivers/macintosh/windfarm_ad7417_sensor.c |    3 +--
 drivers/macintosh/windfarm_core.c          |    3 +--
 drivers/macintosh/windfarm_fcu_controls.c  |    3 +--
 drivers/macintosh/windfarm_lm75_sensor.c   |    3 +--
 drivers/macintosh/windfarm_lm87_sensor.c   |    4 +---
 drivers/macintosh/windfarm_mpu.h           |    3 +--
 drivers/macintosh/windfarm_pid.c           |    3 +--
 drivers/macintosh/windfarm_pid.h           |    3 +--
 drivers/macintosh/windfarm_pm121.c         |   13 +------------
 drivers/macintosh/windfarm_pm81.c          |    4 +---
 drivers/macintosh/windfarm_pm91.c          |    3 +--
 drivers/macintosh/windfarm_smu_controls.c  |    3 +--
 drivers/macintosh/windfarm_smu_sensors.c   |    3 +--
 16 files changed, 16 insertions(+), 45 deletions(-)

--- a/drivers/macintosh/rack-meter.c
+++ b/drivers/macintosh/rack-meter.c
@@ -1,18 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * RackMac vu-meter driver
  *
  * (c) Copyright 2006 Benjamin Herrenschmidt, IBM Corp.
  *                    <benh@kernel.crashing.org>
  *
- * Released under the term of the GNU GPL v2.
- *
  * Support the CPU-meter LEDs of the Xserve G5
  *
  * TODO: Implement PWM to do variable intensity and provide userland
  * interface for fun. Also, the CPU-meter could be made nicer by being
  * a bit less "immediate" but giving instead a more average load over
  * time. Patches welcome :-)
- *
  */
 #undef DEBUG
 
--- a/drivers/macintosh/smu.c
+++ b/drivers/macintosh/smu.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * PowerMac G5 SMU driver
  *
  * Copyright 2004 J. Mayer <l_indien@magic.fr>
  * Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
- *
- * Released under the term of the GNU GPL v2.
  */
 
 /*
--- a/drivers/macintosh/windfarm.h
+++ b/drivers/macintosh/windfarm.h
@@ -1,10 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Windfarm PowerMac thermal control.
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <benh@kernel.crashing.org>
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #ifndef __WINDFARM_H__
--- a/drivers/macintosh/windfarm_ad7417_sensor.c
+++ b/drivers/macintosh/windfarm_ad7417_sensor.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. AD7417 sensors
  *
  * Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #include <linux/types.h>
--- a/drivers/macintosh/windfarm_core.c
+++ b/drivers/macintosh/windfarm_core.c
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. Core
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <benh@kernel.crashing.org>
  *
- * Released under the term of the GNU GPL v2.
- *
  * This core code tracks the list of sensors & controls, register
  * clients, and holds the kernel thread used for control.
  *
--- a/drivers/macintosh/windfarm_fcu_controls.c
+++ b/drivers/macintosh/windfarm_fcu_controls.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. FCU fan control
  *
  * Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Released under the term of the GNU GPL v2.
  */
 #undef DEBUG
 
--- a/drivers/macintosh/windfarm_lm75_sensor.c
+++ b/drivers/macintosh/windfarm_lm75_sensor.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. LM75 sensor
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <benh@kernel.crashing.org>
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #include <linux/types.h>
--- a/drivers/macintosh/windfarm_lm87_sensor.c
+++ b/drivers/macintosh/windfarm_lm87_sensor.c
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. LM87 sensor
  *
  * Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Released under the term of the GNU GPL v2.
- *
  */
 
 #include <linux/types.h>
--- a/drivers/macintosh/windfarm_mpu.h
+++ b/drivers/macintosh/windfarm_mpu.h
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Windfarm PowerMac thermal control
  *
  * Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #ifndef __WINDFARM_MPU_H
--- a/drivers/macintosh/windfarm_pid.c
+++ b/drivers/macintosh/windfarm_pid.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. Generic PID helpers
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <benh@kernel.crashing.org>
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #include <linux/types.h>
--- a/drivers/macintosh/windfarm_pid.h
+++ b/drivers/macintosh/windfarm_pid.h
@@ -1,11 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Windfarm PowerMac thermal control. Generic PID helpers
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <benh@kernel.crashing.org>
  *
- * Released under the term of the GNU GPL v2.
- *
  * This is a pair of generic PID helpers that can be used by
  * control loops. One is the basic PID implementation, the
  * other one is more specifically tailored to the loops used
--- a/drivers/macintosh/windfarm_pm121.c
+++ b/drivers/macintosh/windfarm_pm121.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. iMac G5 iSight
  *
@@ -6,14 +7,9 @@
  * Bits & pieces from windfarm_pm81.c by (c) Copyright 2005 Benjamin
  * Herrenschmidt, IBM Corp. <benh@kernel.crashing.org>
  *
- * Released under the term of the GNU GPL v2.
- *
- *
- *
  * PowerMac12,1
  * ============
  *
- *
  * The algorithm used is the PID control algorithm, used the same way
  * the published Darwin code does, using the same values that are
  * present in the Darwin 8.10 snapshot property lists (note however
@@ -25,7 +21,6 @@
  * controls with a tiny difference. The control-ids of hard-drive-fan
  * and cpu-fan is swapped.
  *
- *
  * Target Correction :
  *
  * controls have a target correction calculated as :
@@ -63,7 +58,6 @@
  *   offset		: -15650652
  *   slope		:  1565065
  *
- *
  * Target rubber-banding :
  *
  * Some controls have a target correction which depends on another
@@ -76,7 +70,6 @@
  *
  * new_target = max (new_target, new_min >> 16)
  *
- *
  * # model_id : 2
  *   control	: cpu-fan
  *   ref	: optical-drive-fan
@@ -89,12 +82,10 @@
  *   offset	: -32768000
  *   slope	: 65536
  *
- *
  * In order to have the moste efficient correction with those
  * dependencies, we must trigger HD loop before OD loop before CPU
  * loop.
  *
- *
  * The various control loops found in Darwin config file are:
  *
  * HD Fan control loop.
@@ -191,12 +182,10 @@
  *   sensors        : cpu-temp, cpu-power
  *   PID params     : from SDB partition
  *
- *
  * CPU Slew control loop.
  *
  *   control        : cpufreq-clamp
  *   sensor         : cpu-temp
- *
  */
 
 #undef	DEBUG
--- a/drivers/macintosh/windfarm_pm81.c
+++ b/drivers/macintosh/windfarm_pm81.c
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. iMac G5
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <benh@kernel.crashing.org>
  *
- * Released under the term of the GNU GPL v2.
- *
  * The algorithm used is the PID control algorithm, used the same
  * way the published Darwin code does, using the same values that
  * are present in the Darwin 8.2 snapshot property lists (note however
@@ -90,7 +89,6 @@
  * from the SDB partition. If we ever end up with actually slewing the system
  * clock and thus changing operating points, we'll have to find a way to
  * communicate with the CPU freq driver;
- *
  */
 
 #include <linux/types.h>
--- a/drivers/macintosh/windfarm_pm91.c
+++ b/drivers/macintosh/windfarm_pm91.c
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. SMU based 1 CPU desktop control loops
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <benh@kernel.crashing.org>
  *
- * Released under the term of the GNU GPL v2.
- *
  * The algorithm used is the PID control algorithm, used the same
  * way the published Darwin code does, using the same values that
  * are present in the Darwin 8.2 snapshot property lists (note however
--- a/drivers/macintosh/windfarm_smu_controls.c
+++ b/drivers/macintosh/windfarm_smu_controls.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. SMU based controls
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <benh@kernel.crashing.org>
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #include <linux/types.h>
--- a/drivers/macintosh/windfarm_smu_sensors.c
+++ b/drivers/macintosh/windfarm_smu_sensors.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. SMU based sensors
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <benh@kernel.crashing.org>
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #include <linux/types.h>



  parent reply	other threads:[~2019-06-03  6:12 UTC|newest]

Thread overview: 133+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-03  5:44 [Batch 16 patch 00/25] Batch 16 of random GPL notices/references Thomas Gleixner
2019-06-03  5:44 ` [Batch 16 patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 226 Thomas Gleixner
2019-06-03 10:11   ` Enrico Weigelt, metux IT consult
2019-06-03 10:46     ` Armijn Hemel - Tjaldur Software Governance Solutions
2019-06-03 12:36       ` Enrico Weigelt, metux IT consult
2019-06-03 13:00         ` Greg KH
2019-06-03 17:13         ` Armijn Hemel - Tjaldur Software Governance Solutions
2019-06-03 12:40   ` Zavras, Alexios
2019-06-03 17:53   ` Allison Randal
2019-06-03  5:44 ` [Batch 16 patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 227 Thomas Gleixner
2019-06-03 10:12   ` Enrico Weigelt, metux IT consult
2019-06-03 17:54   ` Allison Randal
2019-06-03  5:44 ` [Batch 16 patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 228 Thomas Gleixner
2019-06-03 10:14   ` Enrico Weigelt, metux IT consult
2019-06-03 12:44   ` Zavras, Alexios
2019-06-03 17:54   ` Allison Randal
2019-06-03  5:44 ` [Batch 16 patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 229 Thomas Gleixner
2019-06-03 10:15   ` Enrico Weigelt, metux IT consult
2019-06-03 12:46   ` Zavras, Alexios
2019-06-03 17:56   ` Allison Randal
2019-06-03  5:44 ` [Batch 16 patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 230 Thomas Gleixner
2019-06-03 10:17   ` Enrico Weigelt, metux IT consult
2019-06-03 12:47   ` Zavras, Alexios
2019-06-03 17:57   ` Allison Randal
2019-06-03  5:44 ` [Batch 16 patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 231 Thomas Gleixner
2019-06-03 10:19   ` Enrico Weigelt, metux IT consult
2019-06-03 12:50   ` Zavras, Alexios
2019-06-03 18:10     ` Allison Randal
2019-06-03  5:44 ` [Batch 16 patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 232 Thomas Gleixner
2019-06-03 10:04   ` Armijn Hemel - Tjaldur Software Governance Solutions
2019-06-03 10:20   ` Enrico Weigelt, metux IT consult
2019-06-03 12:51   ` Zavras, Alexios
2019-06-03 18:11   ` Allison Randal
2019-06-03  5:44 ` [Batch 16 patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 233 Thomas Gleixner
2019-06-03 10:04   ` Armijn Hemel - Tjaldur Software Governance Solutions
2019-06-03 10:33     ` Enrico Weigelt, metux IT consult
2019-06-03 11:36       ` Greg KH
2019-06-03 12:42         ` Enrico Weigelt, metux IT consult
2019-06-04  7:14           ` Thomas Gleixner
2019-06-03 12:52   ` Zavras, Alexios
2019-06-03 18:14   ` Allison Randal
2019-06-03  5:44 ` [Batch 16 patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 Thomas Gleixner
2019-06-03 10:44   ` Enrico Weigelt, metux IT consult
2019-06-03 12:55   ` Zavras, Alexios
2019-06-03 18:15   ` Allison Randal
2019-06-03  5:44 ` [Batch 16 patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 Thomas Gleixner
2019-06-03 10:51   ` Enrico Weigelt, metux IT consult
     [not found]   ` <1559560444-31041-1-git-send-email-info@metux.net>
2019-06-03 11:14     ` [PATCH] treewide: refined: " Enrico Weigelt, metux IT consult
2019-06-03 11:35       ` Greg KH
2019-06-03 12:40         ` Enrico Weigelt, metux IT consult
2019-06-04  7:17       ` Thomas Gleixner
2019-06-04  8:31         ` Enrico Weigelt, metux IT consult
2019-06-04  8:47           ` Greg KH
2019-06-04  8:53             ` Enrico Weigelt, metux IT consult
2019-06-04  9:10               ` Greg KH
2019-06-04 13:18               ` Thomas Gleixner
2019-06-03 12:57   ` [Batch 16 patch 10/25] treewide: " Zavras, Alexios
2019-06-03 18:16   ` Allison Randal
2019-06-03  5:44 ` [Batch 16 patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 236 Thomas Gleixner
2019-06-03 11:22   ` Enrico Weigelt, metux IT consult
2019-06-03 12:59   ` Zavras, Alexios
2019-06-03 18:18   ` Allison Randal
2019-06-03  5:44 ` [Batch 16 patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 237 Thomas Gleixner
2019-06-03 11:22   ` Enrico Weigelt, metux IT consult
2019-06-03 13:00   ` Zavras, Alexios
2019-06-03 18:19   ` Allison Randal
2019-06-03  5:44 ` [Batch 16 patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 238 Thomas Gleixner
2019-06-03 11:23   ` Enrico Weigelt, metux IT consult
2019-06-03 15:40   ` Zavras, Alexios
2019-06-03 18:20   ` Allison Randal
2019-06-03  5:44 ` [Batch 16 patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 239 Thomas Gleixner
2019-06-03 11:24   ` Enrico Weigelt, metux IT consult
2019-06-03 15:41   ` Zavras, Alexios
2019-06-03 17:56   ` Armijn Hemel - Tjaldur Software Governance Solutions
2019-06-03 18:21   ` Allison Randal
2019-06-03  5:44 ` [Batch 16 patch 15/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 240 Thomas Gleixner
2019-06-03 11:30   ` Enrico Weigelt, metux IT consult
2019-06-03 11:45     ` Greg KH
2019-06-04  7:15       ` Thomas Gleixner
2019-06-04  7:19     ` Thomas Gleixner
2019-06-03  5:44 ` [Batch 16 patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 241 Thomas Gleixner
2019-06-03 11:34   ` Enrico Weigelt, metux IT consult
2019-06-03 15:44   ` Zavras, Alexios
2019-06-03 18:05     ` Greg KH
2019-06-03 18:18       ` dmg
2019-06-03 18:23         ` dmg
2019-06-03 18:28       ` Allison Randal
2019-06-04  9:14         ` Enrico Weigelt, metux IT consult
2019-06-04  9:16           ` Greg KH
2019-07-12  2:34             ` Denver Gingerich
2019-07-12  5:23               ` Greg KH
2019-06-03  5:44 ` [Batch 16 patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 242 Thomas Gleixner
2019-06-03 11:41   ` Enrico Weigelt, metux IT consult
2019-06-03 15:47   ` Zavras, Alexios
2019-06-03 18:04     ` Greg KH
2019-06-03 18:30       ` Allison Randal
2019-06-04  9:36       ` Enrico Weigelt, metux IT consult
2019-06-03  5:44 ` [Batch 16 patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 243 Thomas Gleixner
2019-06-03 11:41   ` Enrico Weigelt, metux IT consult
2019-06-03 15:48   ` Zavras, Alexios
2019-06-03 17:57   ` Armijn Hemel - Tjaldur Software Governance Solutions
2019-06-03 18:31   ` Allison Randal
2019-06-03  5:45 ` [Batch 16 patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 244 Thomas Gleixner
2019-06-03 11:42   ` Enrico Weigelt, metux IT consult
2019-06-03 15:49   ` Zavras, Alexios
2019-06-03 18:32   ` Allison Randal
2019-06-03  5:45 ` [Batch 16 patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 245 Thomas Gleixner
2019-06-03 11:42   ` Enrico Weigelt, metux IT consult
2019-06-03 15:49   ` Zavras, Alexios
2019-06-03 18:32   ` Allison Randal
2019-06-03  5:45 ` Thomas Gleixner [this message]
2019-06-03 11:43   ` [Batch 16 patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 246 Enrico Weigelt, metux IT consult
2019-06-03 15:51   ` Zavras, Alexios
2019-06-03 18:33   ` Allison Randal
2019-06-03  5:45 ` [Batch 16 patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 247 Thomas Gleixner
2019-06-03 12:11   ` Enrico Weigelt, metux IT consult
2019-06-03 14:24     ` Dominik Brodowski
2019-06-03 15:55   ` Zavras, Alexios
2019-06-03 18:35   ` Allison Randal
2019-06-03  5:45 ` [Batch 16 patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 248 Thomas Gleixner
2019-06-03 12:12   ` Enrico Weigelt, metux IT consult
2019-06-03 15:56   ` Zavras, Alexios
2019-06-03 18:00   ` Armijn Hemel - Tjaldur Software Governance Solutions
2019-06-03 18:36   ` Allison Randal
2019-06-03  5:45 ` [Batch 16 patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 249 Thomas Gleixner
2019-06-03 12:12   ` Enrico Weigelt, metux IT consult
2019-06-03 15:58   ` Zavras, Alexios
2019-06-03 18:03     ` Greg KH
2019-06-03 18:38       ` Allison Randal
2019-06-03  5:45 ` [Batch 16 patch 25/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 250 Thomas Gleixner
2019-06-03 12:13   ` Enrico Weigelt, metux IT consult
2019-06-03 15:59   ` Zavras, Alexios
2019-06-03 18:39   ` Allison Randal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190602204654.922331175@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=linux-spdx@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).