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

watchdog: Convert GPL 2.0 notice to SPDX identifier

Convert the boilerplate to SPDX license identifier. While at it, also
move SPDX identifier for drivers/watchdog/rtd119x_wdt.c to the top of
file (as in other files).

Cc: Ray Lehtiniemi <rayl@mail.com>,
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Deepak Saxena <dsaxena@plexity.net>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Jonas Jensen <jonas.jensen@gmail.com>
Cc: Sylver Bruneau <sylver.bruneau@googlemail.com>
Cc: Denis Turischev <denis@compulab.co.il>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Ray Lehtiniemi <rayl@mail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lkml.kernel.org/r/20230517072140.1086660-2-bagasdotme@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>

authored by

Bagas Sanjaya and committed by
Wim Van Sebroeck
a0d261cc 20fbe629

+10 -31
+1 -4
drivers/watchdog/ep93xx_wdt.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Watchdog driver for Cirrus Logic EP93xx family of devices. 3 4 * ··· 11 10 * 12 11 * Copyright (c) 2012 H Hartley Sweeten <hsweeten@visionengravers.com> 13 12 * Convert to a platform device and use the watchdog framework API 14 - * 15 - * This file is licensed under the terms of the GNU General Public 16 - * License version 2. This program is licensed "as is" without any 17 - * warranty of any kind, whether express or implied. 18 13 * 19 14 * This watchdog fires after 250msec, which is a too short interval 20 15 * for us to rely on the user space daemon alone. So we ping the
+1 -3
drivers/watchdog/m54xx_wdt.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * drivers/watchdog/m54xx_wdt.c 3 4 * ··· 12 11 * Copyright 2004 (c) MontaVista, Software, Inc. 13 12 * Based on sa1100 driver, Copyright (C) 2000 Oleg Drokin <green@crimea.edu> 14 13 * 15 - * This file is licensed under the terms of the GNU General Public 16 - * License version 2. This program is licensed "as is" without any 17 - * warranty of any kind, whether express or implied. 18 14 */ 19 15 20 16 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+1 -4
drivers/watchdog/max63xx_wdt.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * drivers/char/watchdog/max63xx_wdt.c 3 4 * 4 5 * Driver for max63{69,70,71,72,73,74} watchdog timers 5 6 * 6 7 * Copyright (C) 2009 Marc Zyngier <maz@misterjones.org> 7 - * 8 - * This file is licensed under the terms of the GNU General Public 9 - * License version 2. This program is licensed "as is" without any 10 - * warranty of any kind, whether express or implied. 11 8 * 12 9 * This driver assumes the watchdog pins are memory mapped (as it is 13 10 * the case for the Arcom Zeus). Should it be connected over GPIOs or
+1 -3
drivers/watchdog/moxart_wdt.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * MOXA ART SoCs watchdog driver. 3 4 * ··· 6 5 * 7 6 * Jonas Jensen <jonas.jensen@gmail.com> 8 7 * 9 - * This file is licensed under the terms of the GNU General Public 10 - * License version 2. This program is licensed "as is" without any 11 - * warranty of any kind, whether express or implied. 12 8 */ 13 9 14 10 #include <linux/clk.h>
+1 -4
drivers/watchdog/octeon-wdt-nmi.S
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 - * This file is subject to the terms and conditions of the GNU General Public 3 - * License. See the file "COPYING" in the main directory of this archive 4 - * for more details. 5 - * 6 3 * Copyright (C) 2007-2017 Cavium, Inc. 7 4 */ 8 5 #include <asm/asm.h>
+1 -3
drivers/watchdog/orion_wdt.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * drivers/watchdog/orion_wdt.c 3 4 * ··· 6 5 * 7 6 * Author: Sylver Bruneau <sylver.bruneau@googlemail.com> 8 7 * 9 - * This file is licensed under the terms of the GNU General Public 10 - * License version 2. This program is licensed "as is" without any 11 - * warranty of any kind, whether express or implied. 12 8 */ 13 9 14 10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+1 -1
drivers/watchdog/rtd119x_wdt.c
··· 1 + // SPDX-License-Identifier: GPL-2.0+ 1 2 /* 2 3 * Realtek RTD129x watchdog 3 4 * 4 5 * Copyright (c) 2017 Andreas Färber 5 6 * 6 - * SPDX-License-Identifier: GPL-2.0+ 7 7 */ 8 8 9 9 #include <linux/bitops.h>
+1 -3
drivers/watchdog/sbc_fitpc2_wdt.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Watchdog driver for SBC-FITPC2 board 3 4 * ··· 6 5 * 7 6 * Adapted from the IXP2000 watchdog driver by Deepak Saxena. 8 7 * 9 - * This file is licensed under the terms of the GNU General Public 10 - * License version 2. This program is licensed "as is" without any 11 - * warranty of any kind, whether express or implied. 12 8 */ 13 9 14 10 #define pr_fmt(fmt) KBUILD_MODNAME " WATCHDOG: " fmt
+1 -3
drivers/watchdog/ts4800_wdt.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Watchdog driver for TS-4800 based boards 3 4 * 4 5 * Copyright (c) 2015 - Savoir-faire Linux 5 6 * 6 - * This file is licensed under the terms of the GNU General Public 7 - * License version 2. This program is licensed "as is" without any 8 - * warranty of any kind, whether express or implied. 9 7 */ 10 8 11 9 #include <linux/kernel.h>
+1 -3
drivers/watchdog/ts72xx_wdt.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Watchdog driver for Technologic Systems TS-72xx based SBCs 3 4 * (TS-7200, TS-7250 and TS-7260). These boards have external ··· 9 8 * 10 9 * This driver is based on ep93xx_wdt and wm831x_wdt drivers. 11 10 * 12 - * This file is licensed under the terms of the GNU General Public 13 - * License version 2. This program is licensed "as is" without any 14 - * warranty of any kind, whether express or implied. 15 11 */ 16 12 17 13 #include <linux/platform_device.h>