Reviewed-by: Richard Fontana <rfontana@xxxxxxxxxx> On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote: > > Based on 1 normalized pattern(s): > > this program is free software you can redistribute it and or modify > it under the terms and conditions of the gnu general public license > version 2 or later as published by the free software foundation 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 http www gnu org licenses > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-or-later > > has been chosen to replace the boilerplate/reference in 7 file(s). > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=c5fe45b387cc > --- > drivers/nfc/s3fwrn5/core.c | 13 +------------ > drivers/nfc/s3fwrn5/firmware.c | 13 +------------ > drivers/nfc/s3fwrn5/firmware.h | 13 +------------ > drivers/nfc/s3fwrn5/i2c.c | 13 +------------ > drivers/nfc/s3fwrn5/nci.c | 13 +------------ > drivers/nfc/s3fwrn5/nci.h | 13 +------------ > drivers/nfc/s3fwrn5/s3fwrn5.h | 13 +------------ > 7 files changed, 7 insertions(+), 84 deletions(-) > > --- a/drivers/nfc/s3fwrn5/core.c > +++ b/drivers/nfc/s3fwrn5/core.c > @@ -1,20 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * NCI based driver for Samsung S3FWRN5 NFC chip > * > * Copyright (C) 2015 Samsung Electrnoics > * Robert Baldyga <r.baldyga@xxxxxxxxxxx> > - * > - * This program is free software; you can redistribute it and/or modify it > - * under the terms and conditions of the GNU General Public License, > - * version 2 or later, as published by the Free Software Foundation. > - * > - * 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 <http://www.gnu.org/licenses/>. > */ > > #include <linux/module.h> > --- a/drivers/nfc/s3fwrn5/firmware.c > +++ b/drivers/nfc/s3fwrn5/firmware.c > @@ -1,20 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * NCI based driver for Samsung S3FWRN5 NFC chip > * > * Copyright (C) 2015 Samsung Electrnoics > * Robert Baldyga <r.baldyga@xxxxxxxxxxx> > - * > - * This program is free software; you can redistribute it and/or modify it > - * under the terms and conditions of the GNU General Public License, > - * version 2 or later, as published by the Free Software Foundation. > - * > - * 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 <http://www.gnu.org/licenses/>. > */ > > #include <linux/completion.h> > --- a/drivers/nfc/s3fwrn5/firmware.h > +++ b/drivers/nfc/s3fwrn5/firmware.h > @@ -1,20 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * NCI based driver for Samsung S3FWRN5 NFC chip > * > * Copyright (C) 2015 Samsung Electrnoics > * Robert Baldyga <r.baldyga@xxxxxxxxxxx> > - * > - * This program is free software; you can redistribute it and/or modify it > - * under the terms and conditions of the GNU General Public License, > - * version 2 or later, as published by the Free Software Foundation. > - * > - * 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 <http://www.gnu.org/licenses/>. > */ > > #ifndef __LOCAL_S3FWRN5_FIRMWARE_H_ > --- a/drivers/nfc/s3fwrn5/i2c.c > +++ b/drivers/nfc/s3fwrn5/i2c.c > @@ -1,20 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * I2C Link Layer for Samsung S3FWRN5 NCI based Driver > * > * Copyright (C) 2015 Samsung Electrnoics > * Robert Baldyga <r.baldyga@xxxxxxxxxxx> > - * > - * This program is free software; you can redistribute it and/or modify it > - * under the terms and conditions of the GNU General Public License, > - * version 2 or later, as published by the Free Software Foundation. > - * > - * 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 <http://www.gnu.org/licenses/>. > */ > > #include <linux/i2c.h> > --- a/drivers/nfc/s3fwrn5/nci.c > +++ b/drivers/nfc/s3fwrn5/nci.c > @@ -1,20 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * NCI based driver for Samsung S3FWRN5 NFC chip > * > * Copyright (C) 2015 Samsung Electrnoics > * Robert Baldyga <r.baldyga@xxxxxxxxxxx> > - * > - * This program is free software; you can redistribute it and/or modify it > - * under the terms and conditions of the GNU General Public License, > - * version 2 or later, as published by the Free Software Foundation. > - * > - * 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 <http://www.gnu.org/licenses/>. > */ > > #include <linux/completion.h> > --- a/drivers/nfc/s3fwrn5/nci.h > +++ b/drivers/nfc/s3fwrn5/nci.h > @@ -1,20 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * NCI based driver for Samsung S3FWRN5 NFC chip > * > * Copyright (C) 2015 Samsung Electrnoics > * Robert Baldyga <r.baldyga@xxxxxxxxxxx> > - * > - * This program is free software; you can redistribute it and/or modify it > - * under the terms and conditions of the GNU General Public License, > - * version 2 or later, as published by the Free Software Foundation. > - * > - * 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 <http://www.gnu.org/licenses/>. > */ > > #ifndef __LOCAL_S3FWRN5_NCI_H_ > --- a/drivers/nfc/s3fwrn5/s3fwrn5.h > +++ b/drivers/nfc/s3fwrn5/s3fwrn5.h > @@ -1,20 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * NCI based driver for Samsung S3FWRN5 NFC chip > * > * Copyright (C) 2015 Samsung Electrnoics > * Robert Baldyga <r.baldyga@xxxxxxxxxxx> > - * > - * This program is free software; you can redistribute it and/or modify it > - * under the terms and conditions of the GNU General Public License, > - * version 2 or later, as published by the Free Software Foundation. > - * > - * 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 <http://www.gnu.org/licenses/>. > */ > > #ifndef __LOCAL_S3FWRN5_H_ > > -- Richard Fontana Senior Commercial Counsel Red Hat, Inc.