Reviewed-by: Allison Randal <allison@xxxxxxxxxxx> On 5/20/19 3:18 AM, 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 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 driver 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 2 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=02254fc26615 > --- > drivers/hwmon/fam15h_power.c | 14 +------------- > drivers/hwmon/k10temp.c | 14 +------------- > 2 files changed, 2 insertions(+), 26 deletions(-) > > --- a/drivers/hwmon/fam15h_power.c > +++ b/drivers/hwmon/fam15h_power.c > @@ -1,21 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * fam15h_power.c - AMD Family 15h processor power monitoring > * > * Copyright (c) 2011-2016 Advanced Micro Devices, Inc. > * Author: Andreas Herrmann <herrmann.der.user@xxxxxxxxxxxxxx> > - * > - * > - * This driver is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License; 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 driver; if not, see <http://www.gnu.org/licenses/>. > */ > > #include <linux/err.h> > --- a/drivers/hwmon/k10temp.c > +++ b/drivers/hwmon/k10temp.c > @@ -1,20 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * k10temp.c - AMD Family 10h/11h/12h/14h/15h/16h processor hardware monitoring > * > * Copyright (c) 2009 Clemens Ladisch <clemens@xxxxxxxxxx> > - * > - * > - * This driver is free software; you can redistribute it and/or > - * modify it under the terms of the GNU General Public License; 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 driver; if not, see <http://www.gnu.org/licenses/>. > */ > > #include <linux/err.h> > >