Skip to content

Commit

Permalink
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 250
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Allison Randal <[email protected]>
Reviewed-by: Alexios Zavras <[email protected]>
Reviewed-by: Enrico Weigelt <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
KAGA-KOKO authored and gregkh committed Jun 19, 2019
1 parent 8092f73 commit d686935
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 44 deletions.
3 changes: 1 addition & 2 deletions sound/aoa/aoa-gpio.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Apple Onboard Audio GPIO definitions
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*/

#ifndef __AOA_GPIO_H
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/aoa.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Apple Onboard Audio definitions
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*/

#ifndef __AOA_H
Expand Down
5 changes: 1 addition & 4 deletions sound/aoa/codecs/onyx.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Apple Onboard Audio driver for Onyx codec
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*
*
* This is a driver for the pcm3052 codec chip (codenamed Onyx)
* that is present in newer Apple hardware (with digital output).
*
Expand All @@ -29,7 +27,6 @@
* having just a single card on a system, and making the
* 'card' pointer accessible to anyone who needs it instead
* of hiding it in the aoa_snd_* functions...
*
*/
#include <linux/delay.h>
#include <linux/module.h>
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/codecs/onyx.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Apple Onboard Audio driver for Onyx codec (header)
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*/
#ifndef __SND_AOA_CODEC_ONYX_H
#define __SND_AOA_CODEC_ONYX_H
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/codecs/tas.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Apple Onboard Audio driver for tas codec
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*
* Open questions:
* - How to distinguish between 3004 and versions?
*
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/codecs/tas.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Apple Onboard Audio driver for tas codec (header)
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*/
#ifndef __SND_AOA_CODECTASH
#define __SND_AOA_CODECTASH
Expand Down
4 changes: 1 addition & 3 deletions sound/aoa/codecs/toonie.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Apple Onboard Audio driver for Toonie codec
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*
*
* This is a driver for the toonie codec chip. This chip is present
* on the Mac Mini and is nothing but a DAC.
*/
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/core/alsa.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Apple Onboard Audio Alsa helpers
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*/
#include <linux/module.h>
#include "alsa.h"
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/core/alsa.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Apple Onboard Audio Alsa private helpers
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*/

#ifndef __SND_AOA_ALSA_H
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/core/core.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Apple Onboard Audio driver core
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*/

#include <linux/init.h>
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/core/gpio-feature.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Apple Onboard Audio feature call GPIO control
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*
* This file contains the GPIO control routines for
* direct (through feature calls) access to the GPIO
* registers.
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/core/gpio-pmf.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Apple Onboard Audio pmf GPIOs
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*/

#include <linux/slab.h>
Expand Down
4 changes: 1 addition & 3 deletions sound/aoa/fabrics/layout.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Apple Onboard Audio driver -- layout/machine id fabric
*
* Copyright 2006-2008 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*
*
* This fabric module looks for sound codecs based on the
* layout-id or device-id property in the device tree.
*/
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/soundbus/core.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* soundbus
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*/

#include <linux/module.h>
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/soundbus/i2sbus/control.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* i2sbus driver -- bus control routines
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*/

#include <linux/kernel.h>
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/soundbus/i2sbus/core.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* i2sbus driver
*
* Copyright 2006-2008 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*/

#include <linux/module.h>
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/soundbus/i2sbus/i2sbus.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* i2sbus driver -- private definitions
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*/
#ifndef __I2SBUS_H
#define __I2SBUS_H
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/soundbus/i2sbus/interface.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* i2sbus driver -- interface register definitions
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*/
#ifndef __I2SBUS_INTERFACE_H
#define __I2SBUS_INTERFACE_H
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/soundbus/i2sbus/pcm.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* i2sbus driver -- pcm routines
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*/

#include <linux/io.h>
Expand Down
3 changes: 1 addition & 2 deletions sound/aoa/soundbus/soundbus.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* soundbus generic definitions
*
* Copyright 2006 Johannes Berg <[email protected]>
*
* GPL v2, can be found in COPYING.
*/
#ifndef __SOUNDBUS_H
#define __SOUNDBUS_H
Expand Down

0 comments on commit d686935

Please sign in to comment.