Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Thomas Gleixner and committed by
Greg Kroah-Hartman
a63a5fa9 c88a15c6

+5 -10
+1 -2
drivers/power/supply/power_supply.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Functions private to power supply class 3 4 * ··· 7 6 * Copyright © 2003 Ian Molton <spyro@f2s.com> 8 7 * 9 8 * Modified: 2004, Oct Szabolcs Gyurko 10 - * 11 - * You may use this code as per GPL version 2 12 9 */ 13 10 14 11 struct device;
+1 -2
drivers/power/supply/power_supply_core.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Universal power supply monitor class 3 4 * ··· 7 6 * Copyright © 2003 Ian Molton <spyro@f2s.com> 8 7 * 9 8 * Modified: 2004, Oct Szabolcs Gyurko 10 - * 11 - * You may use this code as per GPL version 2 12 9 */ 13 10 14 11 #include <linux/module.h>
+1 -2
drivers/power/supply/power_supply_leds.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * LEDs triggers for power supply class 3 4 * ··· 7 6 * Copyright © 2003 Ian Molton <spyro@f2s.com> 8 7 * 9 8 * Modified: 2004, Oct Szabolcs Gyurko 10 - * 11 - * You may use this code as per GPL version 2 12 9 */ 13 10 14 11 #include <linux/kernel.h>
+1 -2
drivers/power/supply/power_supply_sysfs.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Sysfs interface for the universal power supply monitor class 3 4 * ··· 8 7 * Copyright © 2003 Ian Molton <spyro@f2s.com> 9 8 * 10 9 * Modified: 2004, Oct Szabolcs Gyurko 11 - * 12 - * You may use this code as per GPL version 2 13 10 */ 14 11 15 12 #include <linux/ctype.h>
+1 -2
include/linux/power_supply.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Universal power supply monitor class 3 4 * ··· 7 6 * Copyright © 2003 Ian Molton <spyro@f2s.com> 8 7 * 9 8 * Modified: 2004, Oct Szabolcs Gyurko 10 - * 11 - * You may use this code as per GPL version 2 12 9 */ 13 10 14 11 #ifndef __LINUX_POWER_SUPPLY_H__