diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-06-04 04:11:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-19 11:09:55 -0400 |
commit | d2912cb15bdda8ba4a5dd73396ad62641af2f520 (patch) | |
tree | ff723089c8673e3f99df3ddcdaeae7a52bd6fdac /drivers/watchdog | |
parent | 20c8ccb1975b8d5639789d1025ad6ada38bd6f48 (diff) |
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
Based on 2 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 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 #
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4122 file(s).
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Enrico Weigelt <info@metux.net>
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Allison Randal <allison@lohutok.net>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/ath79_wdt.c | 6 | ||||
-rw-r--r-- | drivers/watchdog/ftwdt010_wdt.c | 5 | ||||
-rw-r--r-- | drivers/watchdog/hpwdt.c | 6 | ||||
-rw-r--r-- | drivers/watchdog/imgpdc_wdt.c | 5 | ||||
-rw-r--r-- | drivers/watchdog/ks8695_wdt.c | 5 | ||||
-rw-r--r-- | drivers/watchdog/lantiq_wdt.c | 4 | ||||
-rw-r--r-- | drivers/watchdog/lpc18xx_wdt.c | 5 | ||||
-rw-r--r-- | drivers/watchdog/max77620_wdt.c | 5 | ||||
-rw-r--r-- | drivers/watchdog/mt7621_wdt.c | 5 | ||||
-rw-r--r-- | drivers/watchdog/rt2880_wdt.c | 5 | ||||
-rw-r--r-- | drivers/watchdog/txx9wdt.c | 5 | ||||
-rw-r--r-- | drivers/watchdog/wdat_wdt.c | 5 |
12 files changed, 12 insertions, 49 deletions
diff --git a/drivers/watchdog/ath79_wdt.c b/drivers/watchdog/ath79_wdt.c index 02234c254b10..2e09981fe978 100644 --- a/drivers/watchdog/ath79_wdt.c +++ b/drivers/watchdog/ath79_wdt.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Atheros AR71XX/AR724X/AR913X built-in hardware watchdog timer. | 3 | * Atheros AR71XX/AR724X/AR913X built-in hardware watchdog timer. |
3 | * | 4 | * |
@@ -10,11 +11,6 @@ | |||
10 | * | 11 | * |
11 | * which again was based on sa1100 driver, | 12 | * which again was based on sa1100 driver, |
12 | * Copyright (C) 2000 Oleg Drokin <green@crimea.edu> | 13 | * Copyright (C) 2000 Oleg Drokin <green@crimea.edu> |
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify it | ||
15 | * under the terms of the GNU General Public License version 2 as published | ||
16 | * by the Free Software Foundation. | ||
17 | * | ||
18 | */ | 14 | */ |
19 | 15 | ||
20 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 16 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/watchdog/ftwdt010_wdt.c b/drivers/watchdog/ftwdt010_wdt.c index 9ea0e56fa7ee..d9626ef9b9ae 100644 --- a/drivers/watchdog/ftwdt010_wdt.c +++ b/drivers/watchdog/ftwdt010_wdt.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Watchdog driver for Faraday Technology FTWDT010 | 3 | * Watchdog driver for Faraday Technology FTWDT010 |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Inspired by the out-of-tree drivers from OpenWRT: | 7 | * Inspired by the out-of-tree drivers from OpenWRT: |
7 | * Copyright (C) 2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt> | 8 | * Copyright (C) 2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt> |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/bitops.h> | 11 | #include <linux/bitops.h> |
diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index db1bf6f546ae..8a90f159ffb1 100644 --- a/drivers/watchdog/hpwdt.c +++ b/drivers/watchdog/hpwdt.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * HPE WatchDog Driver | 3 | * HPE WatchDog Driver |
3 | * based on | 4 | * based on |
@@ -6,11 +7,6 @@ | |||
6 | * | 7 | * |
7 | * (c) Copyright 2018 Hewlett Packard Enterprise Development LP | 8 | * (c) Copyright 2018 Hewlett Packard Enterprise Development LP |
8 | * Thomas Mingarelli <thomas.mingarelli@hpe.com> | 9 | * Thomas Mingarelli <thomas.mingarelli@hpe.com> |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or | ||
11 | * modify it under the terms of the GNU General Public License | ||
12 | * version 2 as published by the Free Software Foundation | ||
13 | * | ||
14 | */ | 10 | */ |
15 | 11 | ||
16 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/watchdog/imgpdc_wdt.c b/drivers/watchdog/imgpdc_wdt.c index 0fc31aadeee3..b57ff3787052 100644 --- a/drivers/watchdog/imgpdc_wdt.c +++ b/drivers/watchdog/imgpdc_wdt.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Imagination Technologies PowerDown Controller Watchdog Timer. | 3 | * Imagination Technologies PowerDown Controller Watchdog Timer. |
3 | * | 4 | * |
4 | * Copyright (c) 2014 Imagination Technologies Ltd. | 5 | * Copyright (c) 2014 Imagination Technologies Ltd. |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | * | ||
10 | * Based on drivers/watchdog/sunxi_wdt.c Copyright (c) 2013 Carlo Caione | 7 | * Based on drivers/watchdog/sunxi_wdt.c Copyright (c) 2013 Carlo Caione |
11 | * 2012 Henrik Nordstrom | 8 | * 2012 Henrik Nordstrom |
12 | * | 9 | * |
diff --git a/drivers/watchdog/ks8695_wdt.c b/drivers/watchdog/ks8695_wdt.c index 0565cf30017b..1550ce3c5702 100644 --- a/drivers/watchdog/ks8695_wdt.c +++ b/drivers/watchdog/ks8695_wdt.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Watchdog driver for Kendin/Micrel KS8695. | 3 | * Watchdog driver for Kendin/Micrel KS8695. |
3 | * | 4 | * |
4 | * (C) 2007 Andrew Victor | 5 | * (C) 2007 Andrew Victor |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/watchdog/lantiq_wdt.c b/drivers/watchdog/lantiq_wdt.c index 4caf02ba5d49..6fab504af88b 100644 --- a/drivers/watchdog/lantiq_wdt.c +++ b/drivers/watchdog/lantiq_wdt.c | |||
@@ -1,7 +1,5 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify it | ||
3 | * under the terms of the GNU General Public License version 2 as published | ||
4 | * by the Free Software Foundation. | ||
5 | * | 3 | * |
6 | * Copyright (C) 2010 John Crispin <john@phrozen.org> | 4 | * Copyright (C) 2010 John Crispin <john@phrozen.org> |
7 | * Copyright (C) 2017 Hauke Mehrtens <hauke@hauke-m.de> | 5 | * Copyright (C) 2017 Hauke Mehrtens <hauke@hauke-m.de> |
diff --git a/drivers/watchdog/lpc18xx_wdt.c b/drivers/watchdog/lpc18xx_wdt.c index 0e82abd71d35..78cf11c94941 100644 --- a/drivers/watchdog/lpc18xx_wdt.c +++ b/drivers/watchdog/lpc18xx_wdt.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * NXP LPC18xx Watchdog Timer (WDT) | 3 | * NXP LPC18xx Watchdog Timer (WDT) |
3 | * | 4 | * |
4 | * Copyright (c) 2015 Ariel D'Alessandro <ariel@vanguardiasur.com> | 5 | * Copyright (c) 2015 Ariel D'Alessandro <ariel@vanguardiasur.com> |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | * | ||
10 | * Notes | 7 | * Notes |
11 | * ----- | 8 | * ----- |
12 | * The Watchdog consists of a fixed divide-by-4 clock pre-scaler and a 24-bit | 9 | * The Watchdog consists of a fixed divide-by-4 clock pre-scaler and a 24-bit |
diff --git a/drivers/watchdog/max77620_wdt.c b/drivers/watchdog/max77620_wdt.c index 3ca6b9337932..9937f9fccd2e 100644 --- a/drivers/watchdog/max77620_wdt.c +++ b/drivers/watchdog/max77620_wdt.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Maxim MAX77620 Watchdog Driver | 3 | * Maxim MAX77620 Watchdog Driver |
3 | * | 4 | * |
4 | * Copyright (C) 2016 NVIDIA CORPORATION. All rights reserved. | 5 | * Copyright (C) 2016 NVIDIA CORPORATION. All rights reserved. |
5 | * | 6 | * |
6 | * Author: Laxman Dewangan <ldewangan@nvidia.com> | 7 | * Author: Laxman Dewangan <ldewangan@nvidia.com> |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <linux/err.h> | 10 | #include <linux/err.h> |
diff --git a/drivers/watchdog/mt7621_wdt.c b/drivers/watchdog/mt7621_wdt.c index cbb3c0dde136..a8aa3522cfda 100644 --- a/drivers/watchdog/mt7621_wdt.c +++ b/drivers/watchdog/mt7621_wdt.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Ralink MT7621/MT7628 built-in hardware watchdog timer | 3 | * Ralink MT7621/MT7628 built-in hardware watchdog timer |
3 | * | 4 | * |
4 | * Copyright (C) 2014 John Crispin <john@phrozen.org> | 5 | * Copyright (C) 2014 John Crispin <john@phrozen.org> |
5 | * | 6 | * |
6 | * This driver was based on: drivers/watchdog/rt2880_wdt.c | 7 | * This driver was based on: drivers/watchdog/rt2880_wdt.c |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License version 2 as published | ||
10 | * by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <linux/clk.h> | 10 | #include <linux/clk.h> |
diff --git a/drivers/watchdog/rt2880_wdt.c b/drivers/watchdog/rt2880_wdt.c index 905e60f45eec..49aff800824d 100644 --- a/drivers/watchdog/rt2880_wdt.c +++ b/drivers/watchdog/rt2880_wdt.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Ralink RT288x/RT3xxx/MT76xx built-in hardware watchdog timer | 3 | * Ralink RT288x/RT3xxx/MT76xx built-in hardware watchdog timer |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * Copyright (C) 2013 John Crispin <john@phrozen.org> | 6 | * Copyright (C) 2013 John Crispin <john@phrozen.org> |
6 | * | 7 | * |
7 | * This driver was based on: drivers/watchdog/softdog.c | 8 | * This driver was based on: drivers/watchdog/softdog.c |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify it | ||
10 | * under the terms of the GNU General Public License version 2 as published | ||
11 | * by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <linux/clk.h> | 11 | #include <linux/clk.h> |
diff --git a/drivers/watchdog/txx9wdt.c b/drivers/watchdog/txx9wdt.c index fcb4da5b1f4c..89a54b6645bd 100644 --- a/drivers/watchdog/txx9wdt.c +++ b/drivers/watchdog/txx9wdt.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * txx9wdt: A Hardware Watchdog Driver for TXx9 SoCs | 3 | * txx9wdt: A Hardware Watchdog Driver for TXx9 SoCs |
3 | * | 4 | * |
4 | * Copyright (C) 2007 Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 5 | * Copyright (C) 2007 Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/watchdog/wdat_wdt.c b/drivers/watchdog/wdat_wdt.c index 430ee4e9b185..e7cf41aa26c3 100644 --- a/drivers/watchdog/wdat_wdt.c +++ b/drivers/watchdog/wdat_wdt.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ACPI Hardware Watchdog (WDAT) driver. | 3 | * ACPI Hardware Watchdog (WDAT) driver. |
3 | * | 4 | * |
4 | * Copyright (C) 2016, Intel Corporation | 5 | * Copyright (C) 2016, Intel Corporation |
5 | * Author: Mika Westerberg <mika.westerberg@linux.intel.com> | 6 | * Author: Mika Westerberg <mika.westerberg@linux.intel.com> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <linux/acpi.h> | 9 | #include <linux/acpi.h> |