| Subject: treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 198 |
| Date: Tue, 07 May 2019 12:02:28 +0100 |
| From: Thomas Gleixner <tglx@linutronix.de> |
| |
| Based on 1 normalized pattern(s): |
| |
| license terms gnu general public license v2 |
| |
| |
| |
| extracted by the scancode license scanner the SPDX license identifier |
| |
| GPL-2.0-only |
| |
| has been chosen to replace the boilerplate/reference in 37 file(s). |
| |
| The result has been manually verified and compared against a license |
| compliance dataset provided by .... |
| |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| |
| |
| --- |
| |
| --- a/drivers/clk/sunxi/clk-sun6i-apb0-gates.c |
| +++ b/drivers/clk/sunxi/clk-sun6i-apb0-gates.c |
| @@ -1,11 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Free Electrons |
| * |
| - * License Terms: GNU General Public License v2 |
| * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> |
| * |
| * Allwinner A31 APB0 clock gates driver |
| - * |
| */ |
| |
| #include <linux/clk-provider.h> |
| |
| |
| --- a/drivers/clk/sunxi/clk-sun6i-apb0.c |
| +++ b/drivers/clk/sunxi/clk-sun6i-apb0.c |
| @@ -1,11 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Free Electrons |
| * |
| - * License Terms: GNU General Public License v2 |
| * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> |
| * |
| * Allwinner A31 APB0 clock driver |
| - * |
| */ |
| |
| #include <linux/clk-provider.h> |
| |
| |
| --- a/drivers/clk/sunxi/clk-sun6i-ar100.c |
| +++ b/drivers/clk/sunxi/clk-sun6i-ar100.c |
| @@ -1,11 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Free Electrons |
| * |
| - * License Terms: GNU General Public License v2 |
| * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> |
| * |
| * Allwinner A31 AR100 clock driver |
| - * |
| */ |
| |
| #include <linux/bitops.h> |
| |
| |
| --- a/drivers/clk/sunxi/clk-sun8i-apb0.c |
| +++ b/drivers/clk/sunxi/clk-sun8i-apb0.c |
| @@ -1,17 +1,15 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Chen-Yu Tsai |
| * Author: Chen-Yu Tsai <wens@csie.org> |
| * |
| * Allwinner A23 APB0 clock driver |
| * |
| - * License Terms: GNU General Public License v2 |
| - * |
| * Based on clk-sun6i-apb0.c |
| * Allwinner A31 APB0 clock driver |
| * |
| * Copyright (C) 2014 Free Electrons |
| * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> |
| - * |
| */ |
| |
| #include <linux/clk-provider.h> |
| |
| |
| --- a/drivers/clocksource/clksrc-dbx500-prcmu.c |
| +++ b/drivers/clocksource/clksrc-dbx500-prcmu.c |
| @@ -1,7 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson SA 2011 |
| * |
| - * License Terms: GNU General Public License v2 |
| * Author: Mattias Wallin <mattias.wallin@stericsson.com> for ST-Ericsson |
| * Author: Sundar Iyer for ST-Ericsson |
| * sched_clock implementation is based on: |
| |
| |
| --- a/drivers/hwmon/ab8500.c |
| +++ b/drivers/hwmon/ab8500.c |
| @@ -1,8 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson 2010 - 2013 |
| * Author: Martin Persson <martin.persson@stericsson.com> |
| * Hongbo Zhang <hongbo.zhang@linaro.org> |
| - * License Terms: GNU General Public License v2 |
| * |
| * When the AB8500 thermal warning temperature is reached (threshold cannot |
| * be changed by SW), an interrupt is set, and if no further action is taken |
| |
| |
| --- a/drivers/hwmon/abx500.c |
| +++ b/drivers/hwmon/abx500.c |
| @@ -1,8 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson 2010 - 2013 |
| * Author: Martin Persson <martin.persson@stericsson.com> |
| * Hongbo Zhang <hongbo.zhang@linaro.org> |
| - * License Terms: GNU General Public License v2 |
| * |
| * ABX500 does not provide auto ADC, so to monitor the required temperatures, |
| * a periodic work is used. It is more important to not wake up the CPU than |
| |
| |
| --- a/drivers/hwmon/abx500.h |
| +++ b/drivers/hwmon/abx500.h |
| @@ -1,6 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) ST-Ericsson 2010 - 2013 |
| - * License terms: GNU General Public License v2 |
| * Author: Martin Persson <martin.persson@stericsson.com> |
| * Hongbo Zhang <hongbo.zhang@linaro.com> |
| */ |
| |
| |
| --- a/drivers/input/misc/ab8500-ponkey.c |
| +++ b/drivers/input/misc/ab8500-ponkey.c |
| @@ -1,7 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson SA 2010 |
| * |
| - * License Terms: GNU General Public License v2 |
| * Author: Sundar Iyer <sundar.iyer@stericsson.com> for ST-Ericsson |
| * |
| * AB8500 Power-On Key handler |
| |
| |
| --- a/drivers/leds/leds-lm3530.c |
| +++ b/drivers/leds/leds-lm3530.c |
| @@ -1,8 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2011 ST-Ericsson SA. |
| * Copyright (C) 2009 Motorola, Inc. |
| - * |
| - * License Terms: GNU General Public License v2 |
| * |
| * Simple driver for National Semiconductor LM3530 Backlight driver chip |
| * |
| |
| |
| --- a/drivers/mfd/ab8500-core.c |
| +++ b/drivers/mfd/ab8500-core.c |
| @@ -1,7 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson SA 2010 |
| * |
| - * License Terms: GNU General Public License v2 |
| * Author: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> |
| * Author: Rabin Vincent <rabin.vincent@stericsson.com> |
| * Author: Mattias Wallin <mattias.wallin@stericsson.com> |
| |
| |
| --- a/drivers/mfd/ab8500-debugfs.c |
| +++ b/drivers/mfd/ab8500-debugfs.c |
| @@ -1,8 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson SA 2010 |
| * |
| * Author: Mattias Wallin <mattias.wallin@stericsson.com> for ST-Ericsson. |
| - * License Terms: GNU General Public License v2 |
| */ |
| /* |
| * AB8500 register access |
| |
| |
| --- a/drivers/mfd/ab8500-gpadc.c |
| +++ b/drivers/mfd/ab8500-gpadc.c |
| @@ -1,7 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson SA 2010 |
| * |
| - * License Terms: GNU General Public License v2 |
| * Author: Arun R Murthy <arun.murthy@stericsson.com> |
| * Author: Daniel Willerud <daniel.willerud@stericsson.com> |
| * Author: Johan Palsson <johan.palsson@stericsson.com> |
| |
| |
| --- a/drivers/mfd/db8500-prcmu.c |
| +++ b/drivers/mfd/db8500-prcmu.c |
| @@ -1,16 +1,15 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * DB8500 PRCM Unit driver |
| * |
| * Copyright (C) STMicroelectronics 2009 |
| * Copyright (C) ST-Ericsson SA 2010 |
| * |
| - * License Terms: GNU General Public License v2 |
| * Author: Kumar Sanghvi <kumar.sanghvi@stericsson.com> |
| * Author: Sundar Iyer <sundar.iyer@stericsson.com> |
| * Author: Mattias Nilsson <mattias.i.nilsson@stericsson.com> |
| * |
| * U8500 PRCM Unit interface driver |
| - * |
| */ |
| #include <linux/init.h> |
| #include <linux/export.h> |
| |
| |
| --- a/drivers/mfd/dbx500-prcmu-regs.h |
| +++ b/drivers/mfd/dbx500-prcmu-regs.h |
| @@ -1,11 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) STMicroelectronics 2009 |
| * Copyright (C) ST-Ericsson SA 2010 |
| * |
| * Author: Kumar Sanghvi <kumar.sanghvi@stericsson.com> |
| * Author: Sundar Iyer <sundar.iyer@stericsson.com> |
| - * |
| - * License Terms: GNU General Public License v2 |
| * |
| * PRCM Unit registers |
| */ |
| |
| |
| --- a/drivers/mfd/sun6i-prcm.c |
| +++ b/drivers/mfd/sun6i-prcm.c |
| @@ -1,11 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2014 Free Electrons |
| * |
| - * License Terms: GNU General Public License v2 |
| * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> |
| * |
| * Allwinner PRCM (Power/Reset/Clock Management) driver |
| - * |
| */ |
| |
| #include <linux/mfd/core.h> |
| |
| |
| --- a/drivers/power/supply/ab8500_btemp.c |
| +++ b/drivers/power/supply/ab8500_btemp.c |
| @@ -1,9 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson SA 2012 |
| * |
| * Battery temperature driver for AB8500 |
| * |
| - * License Terms: GNU General Public License v2 |
| * Author: |
| * Johan Palsson <johan.palsson@stericsson.com> |
| * Karl Komierowski <karl.komierowski@stericsson.com> |
| |
| |
| --- a/drivers/power/supply/ab8500_charger.c |
| +++ b/drivers/power/supply/ab8500_charger.c |
| @@ -1,9 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson SA 2012 |
| * |
| * Charger driver for AB8500 |
| * |
| - * License Terms: GNU General Public License v2 |
| * Author: |
| * Johan Palsson <johan.palsson@stericsson.com> |
| * Karl Komierowski <karl.komierowski@stericsson.com> |
| |
| |
| --- a/drivers/power/supply/ab8500_fg.c |
| +++ b/drivers/power/supply/ab8500_fg.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson AB 2012 |
| * |
| @@ -8,7 +9,6 @@ |
| * battery management is not used and the supported code is available in this |
| * driver. |
| * |
| - * License Terms: GNU General Public License v2 |
| * Author: |
| * Johan Palsson <johan.palsson@stericsson.com> |
| * Karl Komierowski <karl.komierowski@stericsson.com> |
| |
| |
| --- a/drivers/power/supply/abx500_chargalg.c |
| +++ b/drivers/power/supply/abx500_chargalg.c |
| @@ -1,10 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson SA 2012 |
| * Copyright (c) 2012 Sony Mobile Communications AB |
| * |
| * Charging algorithm driver for abx500 variants |
| * |
| - * License Terms: GNU General Public License v2 |
| * Authors: |
| * Johan Palsson <johan.palsson@stericsson.com> |
| * Karl Komierowski <karl.komierowski@stericsson.com> |
| |
| |
| --- a/drivers/regulator/ab8500-ext.c |
| +++ b/drivers/regulator/ab8500-ext.c |
| @@ -1,7 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson SA 2010 |
| - * |
| - * License Terms: GNU General Public License v2 |
| * |
| * Authors: Bengt Jonsson <bengt.g.jonsson@stericsson.com> |
| * |
| |
| |
| --- a/drivers/regulator/ab8500.c |
| +++ b/drivers/regulator/ab8500.c |
| @@ -1,7 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson SA 2010 |
| - * |
| - * License Terms: GNU General Public License v2 |
| * |
| * Authors: Sundar Iyer <sundar.iyer@stericsson.com> for ST-Ericsson |
| * Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson |
| |
| |
| --- a/drivers/regulator/db8500-prcmu.c |
| +++ b/drivers/regulator/db8500-prcmu.c |
| @@ -1,7 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson SA 2010 |
| * |
| - * License Terms: GNU General Public License v2 |
| * Authors: Sundar Iyer <sundar.iyer@stericsson.com> for ST-Ericsson |
| * Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson |
| * |
| |
| |
| --- a/drivers/regulator/dbx500-prcmu.c |
| +++ b/drivers/regulator/dbx500-prcmu.c |
| @@ -1,7 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson SA 2010 |
| * |
| - * License Terms: GNU General Public License v2 |
| * Authors: Sundar Iyer <sundar.iyer@stericsson.com> for ST-Ericsson |
| * Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson |
| * |
| |
| |
| --- a/drivers/regulator/dbx500-prcmu.h |
| +++ b/drivers/regulator/dbx500-prcmu.h |
| @@ -1,11 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) ST-Ericsson SA 2010 |
| * |
| * Author: Bengt Jonsson <bengt.jonsson@stericsson.com> for ST-Ericsson, |
| * Jonas Aaberg <jonas.aberg@stericsson.com> for ST-Ericsson |
| - * |
| - * License Terms: GNU General Public License v2 |
| - * |
| */ |
| |
| #ifndef DBX500_REGULATOR_H |
| |
| |
| --- a/drivers/watchdog/ux500_wdt.c |
| +++ b/drivers/watchdog/ux500_wdt.c |
| @@ -1,7 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) ST-Ericsson SA 2011-2013 |
| - * |
| - * License Terms: GNU General Public License v2 |
| * |
| * Author: Mathieu Poirier <mathieu.poirier@linaro.org> for ST-Ericsson |
| * Author: Jonas Aaberg <jonas.aberg@stericsson.com> for ST-Ericsson |
| |
| |
| --- a/include/linux/led-lm3530.h |
| +++ b/include/linux/led-lm3530.h |
| @@ -1,8 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2011 ST-Ericsson SA. |
| * Copyright (C) 2009 Motorola, Inc. |
| - * |
| - * License Terms: GNU General Public License v2 |
| * |
| * Simple driver for National Semiconductor LM35330 Backlight driver chip |
| * |
| |
| |
| --- a/include/linux/mfd/db8500-prcmu.h |
| +++ b/include/linux/mfd/db8500-prcmu.h |
| @@ -1,8 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) STMicroelectronics 2009 |
| * Copyright (C) ST-Ericsson SA 2010 |
| * |
| - * License Terms: GNU General Public License v2 |
| * Author: Kumar Sanghvi <kumar.sanghvi@stericsson.com> |
| * |
| * PRCMU f/w APIs |
| |
| |
| --- a/include/linux/mfd/dbx500-prcmu.h |
| +++ b/include/linux/mfd/dbx500-prcmu.h |
| @@ -1,7 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) ST Ericsson SA 2011 |
| - * |
| - * License Terms: GNU General Public License v2 |
| * |
| * STE Ux500 PRCMU API |
| */ |
| |
| |
| --- a/include/linux/mfd/abx500/ab8500.h |
| +++ b/include/linux/mfd/abx500/ab8500.h |
| @@ -1,7 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) ST-Ericsson SA 2010 |
| * |
| - * License Terms: GNU General Public License v2 |
| * Author: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> |
| */ |
| #ifndef MFD_AB8500_H |
| |
| |
| --- a/include/linux/platform_data/keypad-nomadik-ske.h |
| +++ b/include/linux/platform_data/keypad-nomadik-ske.h |
| @@ -1,7 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) ST-Ericsson SA 2010 |
| * |
| - * License Terms: GNU General Public License v2 |
| * Author: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> |
| * |
| * ux500 Scroll key and Keypad Encoder (SKE) header |
| |
| |
| --- a/include/linux/platform_data/leds-lm355x.h |
| +++ b/include/linux/platform_data/leds-lm355x.h |
| @@ -1,7 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Texas Instruments |
| - * |
| - * License Terms: GNU General Public License v2 |
| * |
| * Simple driver for Texas Instruments LM355x LED driver chip |
| * |
| |
| |
| --- a/include/linux/platform_data/leds-lm3642.h |
| +++ b/include/linux/platform_data/leds-lm3642.h |
| @@ -1,7 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Texas Instruments |
| -* |
| -* License Terms: GNU General Public License v2 |
| * |
| * Simple driver for Texas Instruments LM3642 LED driver chip |
| * |
| |
| |
| --- a/include/linux/platform_data/ux500_wdt.h |
| +++ b/include/linux/platform_data/ux500_wdt.h |
| @@ -1,7 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) ST Ericsson SA 2011 |
| - * |
| - * License Terms: GNU General Public License v2 |
| * |
| * STE Ux500 Watchdog platform data |
| */ |
| |
| |
| --- a/include/linux/power/ab8500.h |
| +++ b/include/linux/power/ab8500.h |
| @@ -1,7 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) ST-Ericsson 2013 |
| * Author: Hongbo Zhang <hongbo.zhang@linaro.com> |
| - * License terms: GNU General Public License v2 |
| */ |
| |
| #ifndef PWR_AB8500_H |
| |
| |
| --- a/include/linux/regulator/ab8500.h |
| +++ b/include/linux/regulator/ab8500.h |
| @@ -1,7 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) ST-Ericsson SA 2010 |
| - * |
| - * License Terms: GNU General Public License v2 |
| * |
| * Authors: Sundar Iyer <sundar.iyer@stericsson.com> for ST-Ericsson |
| * Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson |
| |
| |
| --- a/include/linux/regulator/db8500-prcmu.h |
| +++ b/include/linux/regulator/db8500-prcmu.h |
| @@ -1,7 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) ST-Ericsson SA 2010 |
| - * |
| - * License Terms: GNU General Public License v2 |
| * |
| * Author: Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson |
| * |
| |
| |