Reviewed-by: Allison Randal <allison@xxxxxxxxxxx> On 5/20/19 6:07 PM, Thomas Gleixner wrote: > Based on 1 normalized pattern(s): > > this driver is free software you can redistribute it and or modify > it under the terms of the gnu general public license as published by > the free software foundation either version 2 of the license or at > your option any later version this driver is distributed in the hope > that it will be useful but without any warranty without even the > implied warranty of merchantability or fitness for a particular > purpose see the gnu general public license for more details you > should have received a copy of the gnu general public license along > with this program if not write to the free software foundation inc > 59 temple place suite 330 boston ma 02111 1307 usa > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-or-later > > has been chosen to replace the boilerplate/reference in 18 file(s). > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > Cc: linux-spdx@xxxxxxxxxxxxxxx > > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=a8a27be6da30 > --- > include/sound/hda_hwdep.h | 15 +-------------- > sound/pci/bt87x.c | 16 +--------------- > sound/pci/hda/ca0132_regs.h | 15 +-------------- > sound/pci/hda/hda_codec.c | 16 +--------------- > sound/pci/hda/hda_eld.c | 15 +-------------- > sound/pci/hda/hda_generic.c | 15 +-------------- > sound/pci/hda/hda_hwdep.c | 15 +-------------- > sound/pci/hda/hda_proc.c | 16 +--------------- > sound/pci/hda/patch_analog.c | 15 +-------------- > sound/pci/hda/patch_ca0110.c | 15 +-------------- > sound/pci/hda/patch_ca0132.c | 15 +-------------- > sound/pci/hda/patch_cirrus.c | 15 +-------------- > sound/pci/hda/patch_cmedia.c | 16 +--------------- > sound/pci/hda/patch_conexant.c | 15 +-------------- > sound/pci/hda/patch_realtek.c | 15 +-------------- > sound/pci/hda/patch_si3054.c | 16 +--------------- > sound/pci/hda/patch_sigmatel.c | 15 +-------------- > sound/pci/hda/patch_via.c | 15 +-------------- > 18 files changed, 18 insertions(+), 257 deletions(-) > > --- a/include/sound/hda_hwdep.h > +++ b/include/sound/hda_hwdep.h > @@ -1,21 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * HWDEP Interface for HD-audio codec > * > * Copyright (c) 2007 Takashi Iwai <tiwai@xxxxxxx> > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef __SOUND_HDA_HWDEP_H > --- a/sound/pci/bt87x.c > +++ b/sound/pci/bt87x.c > @@ -1,24 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * bt87x.c - Brooktree Bt878/Bt879 driver for ALSA > * > * Copyright (c) Clemens Ladisch <clemens@xxxxxxxxxx> > * > * based on btaudio.c by Gerd Knorr <kraxel@xxxxxxxxxxx> > - * > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/init.h> > --- a/sound/pci/hda/ca0132_regs.h > +++ b/sound/pci/hda/ca0132_regs.h > @@ -1,22 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * HD audio interface patch for Creative CA0132 chip. > * CA0132 registers defines. > * > * Copyright (c) 2011, Creative Technology Ltd. > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #ifndef __CA0132_REGS_H > --- a/sound/pci/hda/hda_codec.c > +++ b/sound/pci/hda/hda_codec.c > @@ -1,22 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Universal Interface for Intel High Definition Audio Codec > * > * Copyright (c) 2004 Takashi Iwai <tiwai@xxxxxxx> > - * > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/init.h> > --- a/sound/pci/hda/hda_eld.c > +++ b/sound/pci/hda/hda_eld.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Generic routines and proc interface for ELD(EDID Like Data) information > * > @@ -6,20 +7,6 @@ > * > * Authors: > * Wu Fengguang <wfg@xxxxxxxxxxxxxxx> > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/init.h> > --- a/sound/pci/hda/hda_generic.c > +++ b/sound/pci/hda/hda_generic.c > @@ -1,23 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Universal Interface for Intel High Definition Audio Codec > * > * Generic widget tree parser > * > * Copyright (c) 2004 Takashi Iwai <tiwai@xxxxxxx> > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/init.h> > --- a/sound/pci/hda/hda_hwdep.c > +++ b/sound/pci/hda/hda_hwdep.c > @@ -1,21 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * HWDEP Interface for HD-audio codec > * > * Copyright (c) 2007 Takashi Iwai <tiwai@xxxxxxx> > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/init.h> > --- a/sound/pci/hda/hda_proc.c > +++ b/sound/pci/hda/hda_proc.c > @@ -1,24 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Universal Interface for Intel High Definition Audio Codec > * > * Generic proc interface > * > * Copyright (c) 2004 Takashi Iwai <tiwai@xxxxxxx> > - * > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/init.h> > --- a/sound/pci/hda/patch_analog.c > +++ b/sound/pci/hda/patch_analog.c > @@ -1,22 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * HD audio interface patch for AD1882, AD1884, AD1981HD, AD1983, AD1984, > * AD1986A, AD1988 > * > * Copyright (c) 2005-2007 Takashi Iwai <tiwai@xxxxxxx> > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/init.h> > --- a/sound/pci/hda/patch_ca0110.c > +++ b/sound/pci/hda/patch_ca0110.c > @@ -1,21 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * HD audio interface patch for Creative X-Fi CA0110-IBG chip > * > * Copyright (c) 2008 Takashi Iwai <tiwai@xxxxxxx> > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/init.h> > --- a/sound/pci/hda/patch_ca0132.c > +++ b/sound/pci/hda/patch_ca0132.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * HD audio interface patch for Creative CA0132 chip > * > @@ -5,20 +6,6 @@ > * > * Based on patch_ca0110.c > * Copyright (c) 2008 Takashi Iwai <tiwai@xxxxxxx> > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/init.h> > --- a/sound/pci/hda/patch_cirrus.c > +++ b/sound/pci/hda/patch_cirrus.c > @@ -1,21 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * HD audio interface patch for Cirrus Logic CS420x chip > * > * Copyright (c) 2009 Takashi Iwai <tiwai@xxxxxxx> > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/init.h> > --- a/sound/pci/hda/patch_cmedia.c > +++ b/sound/pci/hda/patch_cmedia.c > @@ -1,24 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Universal Interface for Intel High Definition Audio Codec > * > * HD audio interface patch for C-Media CMI9880 > * > * Copyright (c) 2004 Takashi Iwai <tiwai@xxxxxxx> > - * > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/init.h> > --- a/sound/pci/hda/patch_conexant.c > +++ b/sound/pci/hda/patch_conexant.c > @@ -1,23 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * HD audio interface patch for Conexant HDA audio codec > * > * Copyright (c) 2006 Pototskiy Akex <alex.pototskiy@xxxxxxxxx> > * Takashi Iwai <tiwai@xxxxxxx> > * Tobin Davis <tdavis@xxxxxxxxxxxx> > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/init.h> > --- a/sound/pci/hda/patch_realtek.c > +++ b/sound/pci/hda/patch_realtek.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Universal Interface for Intel High Definition Audio Codec > * > @@ -7,20 +8,6 @@ > * PeiSen Hou <pshou@xxxxxxxxxxxxxx> > * Takashi Iwai <tiwai@xxxxxxx> > * Jonathan Woithe <jwoithe@xxxxxxxxxx> > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/init.h> > --- a/sound/pci/hda/patch_si3054.c > +++ b/sound/pci/hda/patch_si3054.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Universal Interface for Intel High Definition Audio Codec > * > @@ -5,21 +6,6 @@ > * > * Copyright (c) 2005 Sasha Khapyorsky <sashak@xxxxxxxxxxxxxxxx> > * Takashi Iwai <tiwai@xxxxxxx> > - * > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/init.h> > --- a/sound/pci/hda/patch_sigmatel.c > +++ b/sound/pci/hda/patch_sigmatel.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Universal Interface for Intel High Definition Audio Codec > * > @@ -8,20 +9,6 @@ > * > * Based on patch_cmedia.c and patch_realtek.c > * Copyright (c) 2004 Takashi Iwai <tiwai@xxxxxxx> > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > #include <linux/init.h> > --- a/sound/pci/hda/patch_via.c > +++ b/sound/pci/hda/patch_via.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Universal Interface for Intel High Definition Audio Codec > * > @@ -5,20 +6,6 @@ > * > * (C) 2006-2009 VIA Technology, Inc. > * (C) 2006-2008 Takashi Iwai <tiwai@xxxxxxx> > - * > - * This driver is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This driver is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > > /* * * * * * * * * * * * * * Release History * * * * * * * * * * * * * * * * */ > > > >