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 250

Based on 1 normalized pattern(s):

gpl v2 can be found in copying

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

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

authored by

Thomas Gleixner and committed by
Greg Kroah-Hartman
d6869352 8092f73c

+20 -44
+1 -2
sound/aoa/aoa-gpio.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Apple Onboard Audio GPIO definitions 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 */ 8 7 9 8 #ifndef __AOA_GPIO_H
+1 -2
sound/aoa/aoa.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Apple Onboard Audio definitions 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 */ 8 7 9 8 #ifndef __AOA_H
+1 -4
sound/aoa/codecs/onyx.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Apple Onboard Audio driver for Onyx codec 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 - * 8 6 * 9 7 * This is a driver for the pcm3052 codec chip (codenamed Onyx) 10 8 * that is present in newer Apple hardware (with digital output). ··· 27 29 * having just a single card on a system, and making the 28 30 * 'card' pointer accessible to anyone who needs it instead 29 31 * of hiding it in the aoa_snd_* functions... 30 - * 31 32 */ 32 33 #include <linux/delay.h> 33 34 #include <linux/module.h>
+1 -2
sound/aoa/codecs/onyx.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Apple Onboard Audio driver for Onyx codec (header) 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 */ 8 7 #ifndef __SND_AOA_CODEC_ONYX_H 9 8 #define __SND_AOA_CODEC_ONYX_H
+1 -2
sound/aoa/codecs/tas.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Apple Onboard Audio driver for tas codec 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 * 8 7 * Open questions: 9 8 * - How to distinguish between 3004 and versions?
+1 -2
sound/aoa/codecs/tas.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Apple Onboard Audio driver for tas codec (header) 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 */ 8 7 #ifndef __SND_AOA_CODECTASH 9 8 #define __SND_AOA_CODECTASH
+1 -3
sound/aoa/codecs/toonie.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Apple Onboard Audio driver for Toonie codec 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 - * 8 6 * 9 7 * This is a driver for the toonie codec chip. This chip is present 10 8 * on the Mac Mini and is nothing but a DAC.
+1 -2
sound/aoa/core/alsa.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Apple Onboard Audio Alsa helpers 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 */ 8 7 #include <linux/module.h> 9 8 #include "alsa.h"
+1 -2
sound/aoa/core/alsa.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Apple Onboard Audio Alsa private helpers 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 */ 8 7 9 8 #ifndef __SND_AOA_ALSA_H
+1 -2
sound/aoa/core/core.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Apple Onboard Audio driver core 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 */ 8 7 9 8 #include <linux/init.h>
+1 -2
sound/aoa/core/gpio-feature.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Apple Onboard Audio feature call GPIO control 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 * 8 7 * This file contains the GPIO control routines for 9 8 * direct (through feature calls) access to the GPIO
+1 -2
sound/aoa/core/gpio-pmf.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Apple Onboard Audio pmf GPIOs 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 */ 8 7 9 8 #include <linux/slab.h>
+1 -3
sound/aoa/fabrics/layout.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Apple Onboard Audio driver -- layout/machine id fabric 3 4 * 4 5 * Copyright 2006-2008 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 - * 8 6 * 9 7 * This fabric module looks for sound codecs based on the 10 8 * layout-id or device-id property in the device tree.
+1 -2
sound/aoa/soundbus/core.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * soundbus 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 */ 8 7 9 8 #include <linux/module.h>
+1 -2
sound/aoa/soundbus/i2sbus/control.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * i2sbus driver -- bus control routines 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 */ 8 7 9 8 #include <linux/kernel.h>
+1 -2
sound/aoa/soundbus/i2sbus/core.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * i2sbus driver 3 4 * 4 5 * Copyright 2006-2008 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 */ 8 7 9 8 #include <linux/module.h>
+1 -2
sound/aoa/soundbus/i2sbus/i2sbus.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * i2sbus driver -- private definitions 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 */ 8 7 #ifndef __I2SBUS_H 9 8 #define __I2SBUS_H
+1 -2
sound/aoa/soundbus/i2sbus/interface.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * i2sbus driver -- interface register definitions 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 */ 8 7 #ifndef __I2SBUS_INTERFACE_H 9 8 #define __I2SBUS_INTERFACE_H
+1 -2
sound/aoa/soundbus/i2sbus/pcm.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * i2sbus driver -- pcm routines 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 */ 8 7 9 8 #include <linux/io.h>
+1 -2
sound/aoa/soundbus/soundbus.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * soundbus generic definitions 3 4 * 4 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 5 - * 6 - * GPL v2, can be found in COPYING. 7 6 */ 8 7 #ifndef __SOUNDBUS_H 9 8 #define __SOUNDBUS_H