Reviewed-by: Allison Randal <allison@xxxxxxxxxxx> On 5/20/19 3:19 AM, Thomas Gleixner wrote: > Based on 1 normalized pattern(s): > > this program 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 program 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 see the file copying or write to the free > software foundation inc 51 franklin st fifth floor boston ma 02110 > 1301 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 4 file(s). > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch3&id=0481d3941b51 > --- > drivers/input/keyboard/maple_keyb.c | 16 +--------------- > drivers/input/touchscreen/ad7877.c | 16 +--------------- > sound/soc/codecs/ad73311.h | 17 +---------------- > sound/soc/codecs/ssm2602.h | 16 +--------------- > 4 files changed, 4 insertions(+), 61 deletions(-) > > --- a/drivers/input/keyboard/maple_keyb.c > +++ b/drivers/input/keyboard/maple_keyb.c > @@ -1,23 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * SEGA Dreamcast keyboard driver > * Based on drivers/usb/usbkbd.c > * Copyright (c) YAEGASHI Takeshi, 2001 > * Porting to 2.6 Copyright (c) Adrian McMenamin, 2007 - 2009 > - * > - * This program 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 program 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, see the file COPYING, or write > - * to the Free Software Foundation, Inc., > - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA > */ > > #include <linux/kernel.h> > --- a/drivers/input/touchscreen/ad7877.c > +++ b/drivers/input/touchscreen/ad7877.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Copyright (C) 2006-2008 Michael Hennerich, Analog Devices Inc. > * > @@ -6,21 +7,6 @@ > * > * Bugs: Enter bugs at http://blackfin.uclinux.org/ > * > - * This program 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 program 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, see the file COPYING, or write > - * to the Free Software Foundation, Inc., > - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA > - * > * History: > * Copyright (c) 2005 David Brownell > * Copyright (c) 2006 Nokia Corporation > --- a/sound/soc/codecs/ad73311.h > +++ b/sound/soc/codecs/ad73311.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * File: sound/soc/codec/ad73311.h > * Based on: > @@ -6,26 +7,10 @@ > * Created: Thur Sep 25, 2008 > * Description: definitions for AD73311 registers > * > - * > * Modified: > * Copyright 2006 Analog Devices Inc. > * > * Bugs: Enter bugs at http://blackfin.uclinux.org/ > - * > - * This program 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 program 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, see the file COPYING, or write > - * to the Free Software Foundation, Inc., > - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA > */ > > #ifndef __AD73311_H__ > --- a/sound/soc/codecs/ssm2602.h > +++ b/sound/soc/codecs/ssm2602.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * File: sound/soc/codecs/ssm2602.h > * Author: Cliff Cai <Cliff.Cai@xxxxxxxxxx> > @@ -8,21 +9,6 @@ > * Copyright 2008 Analog Devices Inc. > * > * Bugs: Enter bugs at http://blackfin.uclinux.org/ > - * > - * This program 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 program 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, see the file COPYING, or write > - * to the Free Software Foundation, Inc., > - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA > */ > > #ifndef _SSM2602_H > >