Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 246

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>
Reviewed-by: Allison Randal <allison@lohutok.net>
Reviewed-by: Enrico Weigelt <info@metux.net>
Reviewed-by: Alexios Zavras <alexios.zavras@intel.com>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190602204654.922331175@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Thomas Gleixner and committed by
Greg Kroah-Hartman
2c162f9b d82444d2

+16 -45
+1 -3
drivers/macintosh/rack-meter.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * RackMac vu-meter driver 3 4 * 4 5 * (c) Copyright 2006 Benjamin Herrenschmidt, IBM Corp. 5 6 * <benh@kernel.crashing.org> 6 - * 7 - * Released under the term of the GNU GPL v2. 8 7 * 9 8 * Support the CPU-meter LEDs of the Xserve G5 10 9 * ··· 11 12 * interface for fun. Also, the CPU-meter could be made nicer by being 12 13 * a bit less "immediate" but giving instead a more average load over 13 14 * time. Patches welcome :-) 14 - * 15 15 */ 16 16 #undef DEBUG 17 17
+1 -2
drivers/macintosh/smu.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * PowerMac G5 SMU driver 3 4 * 4 5 * Copyright 2004 J. Mayer <l_indien@magic.fr> 5 6 * Copyright 2005 Benjamin Herrenschmidt, IBM Corp. 6 - * 7 - * Released under the term of the GNU GPL v2. 8 7 */ 9 8 10 9 /*
+1 -2
drivers/macintosh/windfarm.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Windfarm PowerMac thermal control. 3 4 * 4 5 * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp. 5 6 * <benh@kernel.crashing.org> 6 - * 7 - * Released under the term of the GNU GPL v2. 8 7 */ 9 8 10 9 #ifndef __WINDFARM_H__
+1 -2
drivers/macintosh/windfarm_ad7417_sensor.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Windfarm PowerMac thermal control. AD7417 sensors 3 4 * 4 5 * Copyright 2012 Benjamin Herrenschmidt, IBM Corp. 5 - * 6 - * Released under the term of the GNU GPL v2. 7 6 */ 8 7 9 8 #include <linux/types.h>
+1 -2
drivers/macintosh/windfarm_core.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Windfarm PowerMac thermal control. Core 3 4 * 4 5 * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp. 5 6 * <benh@kernel.crashing.org> 6 - * 7 - * Released under the term of the GNU GPL v2. 8 7 * 9 8 * This core code tracks the list of sensors & controls, register 10 9 * clients, and holds the kernel thread used for control.
+1 -2
drivers/macintosh/windfarm_fcu_controls.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Windfarm PowerMac thermal control. FCU fan control 3 4 * 4 5 * Copyright 2012 Benjamin Herrenschmidt, IBM Corp. 5 - * 6 - * Released under the term of the GNU GPL v2. 7 6 */ 8 7 #undef DEBUG 9 8
+1 -2
drivers/macintosh/windfarm_lm75_sensor.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Windfarm PowerMac thermal control. LM75 sensor 3 4 * 4 5 * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp. 5 6 * <benh@kernel.crashing.org> 6 - * 7 - * Released under the term of the GNU GPL v2. 8 7 */ 9 8 10 9 #include <linux/types.h>
+1 -3
drivers/macintosh/windfarm_lm87_sensor.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Windfarm PowerMac thermal control. LM87 sensor 3 4 * 4 5 * Copyright 2012 Benjamin Herrenschmidt, IBM Corp. 5 - * 6 - * Released under the term of the GNU GPL v2. 7 - * 8 6 */ 9 7 10 8 #include <linux/types.h>
+1 -2
drivers/macintosh/windfarm_mpu.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Windfarm PowerMac thermal control 3 4 * 4 5 * Copyright 2012 Benjamin Herrenschmidt, IBM Corp. 5 - * 6 - * Released under the term of the GNU GPL v2. 7 6 */ 8 7 9 8 #ifndef __WINDFARM_MPU_H
+1 -2
drivers/macintosh/windfarm_pid.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Windfarm PowerMac thermal control. Generic PID helpers 3 4 * 4 5 * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp. 5 6 * <benh@kernel.crashing.org> 6 - * 7 - * Released under the term of the GNU GPL v2. 8 7 */ 9 8 10 9 #include <linux/types.h>
+1 -2
drivers/macintosh/windfarm_pid.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Windfarm PowerMac thermal control. Generic PID helpers 3 4 * 4 5 * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp. 5 6 * <benh@kernel.crashing.org> 6 - * 7 - * Released under the term of the GNU GPL v2. 8 7 * 9 8 * This is a pair of generic PID helpers that can be used by 10 9 * control loops. One is the basic PID implementation, the
+1 -12
drivers/macintosh/windfarm_pm121.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Windfarm PowerMac thermal control. iMac G5 iSight 3 4 * ··· 7 6 * Bits & pieces from windfarm_pm81.c by (c) Copyright 2005 Benjamin 8 7 * Herrenschmidt, IBM Corp. <benh@kernel.crashing.org> 9 8 * 10 - * Released under the term of the GNU GPL v2. 11 - * 12 - * 13 - * 14 9 * PowerMac12,1 15 10 * ============ 16 - * 17 11 * 18 12 * The algorithm used is the PID control algorithm, used the same way 19 13 * the published Darwin code does, using the same values that are ··· 20 24 * 17" while Model 3 is iMac G5 20". They do have both the same 21 25 * controls with a tiny difference. The control-ids of hard-drive-fan 22 26 * and cpu-fan is swapped. 23 - * 24 27 * 25 28 * Target Correction : 26 29 * ··· 58 63 * offset : -15650652 59 64 * slope : 1565065 60 65 * 61 - * 62 66 * Target rubber-banding : 63 67 * 64 68 * Some controls have a target correction which depends on another ··· 69 75 * greater than 0, then we correct the target value using : 70 76 * 71 77 * new_target = max (new_target, new_min >> 16) 72 - * 73 78 * 74 79 * # model_id : 2 75 80 * control : cpu-fan ··· 82 89 * offset : -32768000 83 90 * slope : 65536 84 91 * 85 - * 86 92 * In order to have the moste efficient correction with those 87 93 * dependencies, we must trigger HD loop before OD loop before CPU 88 94 * loop. 89 - * 90 95 * 91 96 * The various control loops found in Darwin config file are: 92 97 * ··· 182 191 * sensors : cpu-temp, cpu-power 183 192 * PID params : from SDB partition 184 193 * 185 - * 186 194 * CPU Slew control loop. 187 195 * 188 196 * control : cpufreq-clamp 189 197 * sensor : cpu-temp 190 - * 191 198 */ 192 199 193 200 #undef DEBUG
+1 -3
drivers/macintosh/windfarm_pm81.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Windfarm PowerMac thermal control. iMac G5 3 4 * 4 5 * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp. 5 6 * <benh@kernel.crashing.org> 6 - * 7 - * Released under the term of the GNU GPL v2. 8 7 * 9 8 * The algorithm used is the PID control algorithm, used the same 10 9 * way the published Darwin code does, using the same values that ··· 89 90 * from the SDB partition. If we ever end up with actually slewing the system 90 91 * clock and thus changing operating points, we'll have to find a way to 91 92 * communicate with the CPU freq driver; 92 - * 93 93 */ 94 94 95 95 #include <linux/types.h>
+1 -2
drivers/macintosh/windfarm_pm91.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Windfarm PowerMac thermal control. SMU based 1 CPU desktop control loops 3 4 * 4 5 * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp. 5 6 * <benh@kernel.crashing.org> 6 - * 7 - * Released under the term of the GNU GPL v2. 8 7 * 9 8 * The algorithm used is the PID control algorithm, used the same 10 9 * way the published Darwin code does, using the same values that
+1 -2
drivers/macintosh/windfarm_smu_controls.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Windfarm PowerMac thermal control. SMU based controls 3 4 * 4 5 * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp. 5 6 * <benh@kernel.crashing.org> 6 - * 7 - * Released under the term of the GNU GPL v2. 8 7 */ 9 8 10 9 #include <linux/types.h>
+1 -2
drivers/macintosh/windfarm_smu_sensors.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Windfarm PowerMac thermal control. SMU based sensors 3 4 * 4 5 * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp. 5 6 * <benh@kernel.crashing.org> 6 - * 7 - * Released under the term of the GNU GPL v2. 8 7 */ 9 8 10 9 #include <linux/types.h>