On 03.06.19 07:45, Thomas Gleixner wrote: > From: Thomas Gleixner tglx@xxxxxxxxxxxxx > > 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@xxxxxxxxxxxxx> > > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=f29729cc6237 > --- > sound/aoa/aoa-gpio.h | 3 +-- > sound/aoa/aoa.h | 3 +-- > sound/aoa/codecs/onyx.c | 5 +---- > sound/aoa/codecs/onyx.h | 3 +-- > sound/aoa/codecs/tas.c | 3 +-- > sound/aoa/codecs/tas.h | 3 +-- > sound/aoa/codecs/toonie.c | 4 +--- > sound/aoa/core/alsa.c | 3 +-- > sound/aoa/core/alsa.h | 3 +-- > sound/aoa/core/core.c | 3 +-- > sound/aoa/core/gpio-feature.c | 3 +-- > sound/aoa/core/gpio-pmf.c | 3 +-- > sound/aoa/fabrics/layout.c | 4 +--- > sound/aoa/soundbus/core.c | 3 +-- > sound/aoa/soundbus/i2sbus/control.c | 3 +-- > sound/aoa/soundbus/i2sbus/core.c | 3 +-- > sound/aoa/soundbus/i2sbus/i2sbus.h | 3 +-- > sound/aoa/soundbus/i2sbus/interface.h | 3 +-- > sound/aoa/soundbus/i2sbus/pcm.c | 3 +-- > sound/aoa/soundbus/soundbus.h | 3 +-- > 20 files changed, 20 insertions(+), 44 deletions(-) > > --- a/sound/aoa/aoa-gpio.h > +++ b/sound/aoa/aoa-gpio.h > @@ -1,9 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Apple Onboard Audio GPIO definitions > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > - * > - * GPL v2, can be found in COPYING. > */ > > #ifndef __AOA_GPIO_H > --- a/sound/aoa/aoa.h > +++ b/sound/aoa/aoa.h > @@ -1,9 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Apple Onboard Audio definitions > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > - * > - * GPL v2, can be found in COPYING. > */ > > #ifndef __AOA_H > --- a/sound/aoa/codecs/onyx.c > +++ b/sound/aoa/codecs/onyx.c > @@ -1,11 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Apple Onboard Audio driver for Onyx codec > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > * > - * 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). > * > @@ -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> > --- a/sound/aoa/codecs/onyx.h > +++ b/sound/aoa/codecs/onyx.h > @@ -1,9 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Apple Onboard Audio driver for Onyx codec (header) > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > - * > - * GPL v2, can be found in COPYING. > */ > #ifndef __SND_AOA_CODEC_ONYX_H > #define __SND_AOA_CODEC_ONYX_H > --- a/sound/aoa/codecs/tas.c > +++ b/sound/aoa/codecs/tas.c > @@ -1,10 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Apple Onboard Audio driver for tas codec > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > * > - * GPL v2, can be found in COPYING. > - * > * Open questions: > * - How to distinguish between 3004 and versions? > * > --- a/sound/aoa/codecs/tas.h > +++ b/sound/aoa/codecs/tas.h > @@ -1,9 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Apple Onboard Audio driver for tas codec (header) > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > - * > - * GPL v2, can be found in COPYING. > */ > #ifndef __SND_AOA_CODECTASH > #define __SND_AOA_CODECTASH > --- a/sound/aoa/codecs/toonie.c > +++ b/sound/aoa/codecs/toonie.c > @@ -1,11 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Apple Onboard Audio driver for Toonie codec > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > * > - * 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. > */ > --- a/sound/aoa/core/alsa.c > +++ b/sound/aoa/core/alsa.c > @@ -1,9 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Apple Onboard Audio Alsa helpers > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > - * > - * GPL v2, can be found in COPYING. > */ > #include <linux/module.h> > #include "alsa.h" > --- a/sound/aoa/core/alsa.h > +++ b/sound/aoa/core/alsa.h > @@ -1,9 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Apple Onboard Audio Alsa private helpers > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > - * > - * GPL v2, can be found in COPYING. > */ > > #ifndef __SND_AOA_ALSA_H > --- a/sound/aoa/core/core.c > +++ b/sound/aoa/core/core.c > @@ -1,9 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Apple Onboard Audio driver core > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > - * > - * GPL v2, can be found in COPYING. > */ > > #include <linux/init.h> > --- a/sound/aoa/core/gpio-feature.c > +++ b/sound/aoa/core/gpio-feature.c > @@ -1,10 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Apple Onboard Audio feature call GPIO control > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > * > - * GPL v2, can be found in COPYING. > - * > * This file contains the GPIO control routines for > * direct (through feature calls) access to the GPIO > * registers. > --- a/sound/aoa/core/gpio-pmf.c > +++ b/sound/aoa/core/gpio-pmf.c > @@ -1,9 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Apple Onboard Audio pmf GPIOs > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > - * > - * GPL v2, can be found in COPYING. > */ > > #include <linux/slab.h> > --- a/sound/aoa/fabrics/layout.c > +++ b/sound/aoa/fabrics/layout.c > @@ -1,11 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Apple Onboard Audio driver -- layout/machine id fabric > * > * Copyright 2006-2008 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > * > - * 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. > */ > --- a/sound/aoa/soundbus/core.c > +++ b/sound/aoa/soundbus/core.c > @@ -1,9 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * soundbus > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > - * > - * GPL v2, can be found in COPYING. > */ > > #include <linux/module.h> > --- a/sound/aoa/soundbus/i2sbus/control.c > +++ b/sound/aoa/soundbus/i2sbus/control.c > @@ -1,9 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * i2sbus driver -- bus control routines > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > - * > - * GPL v2, can be found in COPYING. > */ > > #include <linux/kernel.h> > --- a/sound/aoa/soundbus/i2sbus/core.c > +++ b/sound/aoa/soundbus/i2sbus/core.c > @@ -1,9 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * i2sbus driver > * > * Copyright 2006-2008 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > - * > - * GPL v2, can be found in COPYING. > */ > > #include <linux/module.h> > --- a/sound/aoa/soundbus/i2sbus/i2sbus.h > +++ b/sound/aoa/soundbus/i2sbus/i2sbus.h > @@ -1,9 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * i2sbus driver -- private definitions > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > - * > - * GPL v2, can be found in COPYING. > */ > #ifndef __I2SBUS_H > #define __I2SBUS_H > --- a/sound/aoa/soundbus/i2sbus/interface.h > +++ b/sound/aoa/soundbus/i2sbus/interface.h > @@ -1,9 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * i2sbus driver -- interface register definitions > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > - * > - * GPL v2, can be found in COPYING. > */ > #ifndef __I2SBUS_INTERFACE_H > #define __I2SBUS_INTERFACE_H > --- a/sound/aoa/soundbus/i2sbus/pcm.c > +++ b/sound/aoa/soundbus/i2sbus/pcm.c > @@ -1,9 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * i2sbus driver -- pcm routines > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > - * > - * GPL v2, can be found in COPYING. > */ > > #include <linux/io.h> > --- a/sound/aoa/soundbus/soundbus.h > +++ b/sound/aoa/soundbus/soundbus.h > @@ -1,9 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * soundbus generic definitions > * > * Copyright 2006 Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > - * > - * GPL v2, can be found in COPYING. > */ > #ifndef __SOUNDBUS_H > #define __SOUNDBUS_H > > Reviewed-By: Enrico Weigelt <info@xxxxxxxxx> -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@xxxxxxxxx -- +49-151-27565287