treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 218

Based on 1 normalized pattern(s):

  you may use this code as per gpl version 2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

has been chosen to replace the boilerplate/reference in 5 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Steve Winslow <swinslow@gmail.com>
Reviewed-by: Alexios Zavras <alexios.zavras@intel.com>
Reviewed-by: Allison Randal <allison@lohutok.net>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190528171439.762454146@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Thomas Gleixner 2019-05-28 10:10:21 -07:00 committed by Greg Kroah-Hartman
parent c88a15c6f1
commit a63a5fa97e
5 changed files with 5 additions and 10 deletions

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* Functions private to power supply class * Functions private to power supply class
* *
@ -6,8 +7,6 @@
* Copyright © 2003 Ian Molton <spyro@f2s.com> * Copyright © 2003 Ian Molton <spyro@f2s.com>
* *
* Modified: 2004, Oct Szabolcs Gyurko * Modified: 2004, Oct Szabolcs Gyurko
*
* You may use this code as per GPL version 2
*/ */
struct device; struct device;

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* Universal power supply monitor class * Universal power supply monitor class
* *
@ -6,8 +7,6 @@
* Copyright © 2003 Ian Molton <spyro@f2s.com> * Copyright © 2003 Ian Molton <spyro@f2s.com>
* *
* Modified: 2004, Oct Szabolcs Gyurko * Modified: 2004, Oct Szabolcs Gyurko
*
* You may use this code as per GPL version 2
*/ */
#include <linux/module.h> #include <linux/module.h>

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* LEDs triggers for power supply class * LEDs triggers for power supply class
* *
@ -6,8 +7,6 @@
* Copyright © 2003 Ian Molton <spyro@f2s.com> * Copyright © 2003 Ian Molton <spyro@f2s.com>
* *
* Modified: 2004, Oct Szabolcs Gyurko * Modified: 2004, Oct Szabolcs Gyurko
*
* You may use this code as per GPL version 2
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* Sysfs interface for the universal power supply monitor class * Sysfs interface for the universal power supply monitor class
* *
@ -7,8 +8,6 @@
* Copyright © 2003 Ian Molton <spyro@f2s.com> * Copyright © 2003 Ian Molton <spyro@f2s.com>
* *
* Modified: 2004, Oct Szabolcs Gyurko * Modified: 2004, Oct Szabolcs Gyurko
*
* You may use this code as per GPL version 2
*/ */
#include <linux/ctype.h> #include <linux/ctype.h>

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* Universal power supply monitor class * Universal power supply monitor class
* *
@ -6,8 +7,6 @@
* Copyright © 2003 Ian Molton <spyro@f2s.com> * Copyright © 2003 Ian Molton <spyro@f2s.com>
* *
* Modified: 2004, Oct Szabolcs Gyurko * Modified: 2004, Oct Szabolcs Gyurko
*
* You may use this code as per GPL version 2
*/ */
#ifndef __LINUX_POWER_SUPPLY_H__ #ifndef __LINUX_POWER_SUPPLY_H__