diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-06-04 04:11:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-19 11:09:55 -0400 |
commit | d2912cb15bdda8ba4a5dd73396ad62641af2f520 (patch) | |
tree | ff723089c8673e3f99df3ddcdaeae7a52bd6fdac /drivers/platform | |
parent | 20c8ccb1975b8d5639789d1025ad6ada38bd6f48 (diff) |
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
Based on 2 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 version 2 as
published by the free software foundation
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 as
published by the free software foundation #
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4122 file(s).
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Enrico Weigelt <info@metux.net>
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Allison Randal <allison@lohutok.net>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/acer-wireless.c | 5 | ||||
-rw-r--r-- | drivers/platform/x86/apple-gmux.c | 5 | ||||
-rw-r--r-- | drivers/platform/x86/asus-wireless.c | 5 | ||||
-rw-r--r-- | drivers/platform/x86/dell-laptop.c | 5 | ||||
-rw-r--r-- | drivers/platform/x86/dell-smbios-base.c | 5 | ||||
-rw-r--r-- | drivers/platform/x86/dell-smbios-smm.c | 5 | ||||
-rw-r--r-- | drivers/platform/x86/dell-smbios-wmi.c | 5 | ||||
-rw-r--r-- | drivers/platform/x86/dell-smbios.h | 5 | ||||
-rw-r--r-- | drivers/platform/x86/dell-wmi-descriptor.h | 5 | ||||
-rw-r--r-- | drivers/platform/x86/peaq-wmi.c | 5 | ||||
-rw-r--r-- | drivers/platform/x86/samsung-laptop.c | 6 | ||||
-rw-r--r-- | drivers/platform/x86/samsung-q10.c | 6 | ||||
-rw-r--r-- | drivers/platform/x86/toshiba_bluetooth.c | 5 |
13 files changed, 13 insertions, 54 deletions
diff --git a/drivers/platform/x86/acer-wireless.c b/drivers/platform/x86/acer-wireless.c index 858037987b33..e0976180532a 100644 --- a/drivers/platform/x86/acer-wireless.c +++ b/drivers/platform/x86/acer-wireless.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Acer Wireless Radio Control Driver | 3 | * Acer Wireless Radio Control Driver |
3 | * | 4 | * |
4 | * Copyright (C) 2017 Endless Mobile, Inc. | 5 | * Copyright (C) 2017 Endless Mobile, Inc. |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/acpi.h> | 8 | #include <linux/acpi.h> |
diff --git a/drivers/platform/x86/apple-gmux.c b/drivers/platform/x86/apple-gmux.c index fd2ffebc868f..7e3083deb1c5 100644 --- a/drivers/platform/x86/apple-gmux.c +++ b/drivers/platform/x86/apple-gmux.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Gmux driver for Apple laptops | 3 | * Gmux driver for Apple laptops |
3 | * | 4 | * |
4 | * Copyright (C) Canonical Ltd. <seth.forshee@canonical.com> | 5 | * Copyright (C) Canonical Ltd. <seth.forshee@canonical.com> |
5 | * Copyright (C) 2010-2012 Andreas Heider <andreas@meetr.de> | 6 | * Copyright (C) 2010-2012 Andreas Heider <andreas@meetr.de> |
6 | * Copyright (C) 2015 Lukas Wunner <lukas@wunner.de> | 7 | * Copyright (C) 2015 Lukas Wunner <lukas@wunner.de> |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/platform/x86/asus-wireless.c b/drivers/platform/x86/asus-wireless.c index 7458f7602d5e..d3e7171928e5 100644 --- a/drivers/platform/x86/asus-wireless.c +++ b/drivers/platform/x86/asus-wireless.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Asus Wireless Radio Control Driver | 3 | * Asus Wireless Radio Control Driver |
3 | * | 4 | * |
4 | * Copyright (C) 2015-2016 Endless Mobile, Inc. | 5 | * Copyright (C) 2015-2016 Endless Mobile, Inc. |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index a561f653cf13..4e2f76aa98de 100644 --- a/drivers/platform/x86/dell-laptop.c +++ b/drivers/platform/x86/dell-laptop.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for Dell laptop extras | 3 | * Driver for Dell laptop extras |
3 | * | 4 | * |
@@ -7,10 +8,6 @@ | |||
7 | * | 8 | * |
8 | * Based on documentation in the libsmbios package: | 9 | * Based on documentation in the libsmbios package: |
9 | * Copyright (C) 2005-2014 Dell Inc. | 10 | * Copyright (C) 2005-2014 Dell Inc. |
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify | ||
12 | * it under the terms of the GNU General Public License version 2 as | ||
13 | * published by the Free Software Foundation. | ||
14 | */ | 11 | */ |
15 | 12 | ||
16 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/platform/x86/dell-smbios-base.c b/drivers/platform/x86/dell-smbios-base.c index 0537d44d45a6..fe59b0ebff31 100644 --- a/drivers/platform/x86/dell-smbios-base.c +++ b/drivers/platform/x86/dell-smbios-base.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Common functions for kernel modules using Dell SMBIOS | 3 | * Common functions for kernel modules using Dell SMBIOS |
3 | * | 4 | * |
@@ -7,10 +8,6 @@ | |||
7 | * | 8 | * |
8 | * Based on documentation in the libsmbios package: | 9 | * Based on documentation in the libsmbios package: |
9 | * Copyright (C) 2005-2014 Dell Inc. | 10 | * Copyright (C) 2005-2014 Dell Inc. |
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify | ||
12 | * it under the terms of the GNU General Public License version 2 as | ||
13 | * published by the Free Software Foundation. | ||
14 | */ | 11 | */ |
15 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
16 | 13 | ||
diff --git a/drivers/platform/x86/dell-smbios-smm.c b/drivers/platform/x86/dell-smbios-smm.c index ab9b822a6dfe..d6854d1c4119 100644 --- a/drivers/platform/x86/dell-smbios-smm.c +++ b/drivers/platform/x86/dell-smbios-smm.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * SMI methods for use with dell-smbios | 3 | * SMI methods for use with dell-smbios |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * Copyright (c) 2014 Gabriele Mazzotta <gabriele.mzt@gmail.com> | 6 | * Copyright (c) 2014 Gabriele Mazzotta <gabriele.mzt@gmail.com> |
6 | * Copyright (c) 2014 Pali Rohár <pali.rohar@gmail.com> | 7 | * Copyright (c) 2014 Pali Rohár <pali.rohar@gmail.com> |
7 | * Copyright (c) 2017 Dell Inc. | 8 | * Copyright (c) 2017 Dell Inc. |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
14 | 11 | ||
diff --git a/drivers/platform/x86/dell-smbios-wmi.c b/drivers/platform/x86/dell-smbios-wmi.c index c3ed3c8c17b9..942b5b77883a 100644 --- a/drivers/platform/x86/dell-smbios-wmi.c +++ b/drivers/platform/x86/dell-smbios-wmi.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * WMI methods for use with dell-smbios | 3 | * WMI methods for use with dell-smbios |
3 | * | 4 | * |
4 | * Copyright (c) 2017 Dell Inc. | 5 | * Copyright (c) 2017 Dell Inc. |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 7 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
11 | 8 | ||
diff --git a/drivers/platform/x86/dell-smbios.h b/drivers/platform/x86/dell-smbios.h index d8adaf959740..a7ff9803f41a 100644 --- a/drivers/platform/x86/dell-smbios.h +++ b/drivers/platform/x86/dell-smbios.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Common functions for kernel modules using Dell SMBIOS | 3 | * Common functions for kernel modules using Dell SMBIOS |
3 | * | 4 | * |
@@ -7,10 +8,6 @@ | |||
7 | * | 8 | * |
8 | * Based on documentation in the libsmbios package: | 9 | * Based on documentation in the libsmbios package: |
9 | * Copyright (C) 2005-2014 Dell Inc. | 10 | * Copyright (C) 2005-2014 Dell Inc. |
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify | ||
12 | * it under the terms of the GNU General Public License version 2 as | ||
13 | * published by the Free Software Foundation. | ||
14 | */ | 11 | */ |
15 | 12 | ||
16 | #ifndef _DELL_SMBIOS_H_ | 13 | #ifndef _DELL_SMBIOS_H_ |
diff --git a/drivers/platform/x86/dell-wmi-descriptor.h b/drivers/platform/x86/dell-wmi-descriptor.h index a6123a4d06a7..1f469fef1535 100644 --- a/drivers/platform/x86/dell-wmi-descriptor.h +++ b/drivers/platform/x86/dell-wmi-descriptor.h | |||
@@ -1,11 +1,8 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Dell WMI descriptor driver | 3 | * Dell WMI descriptor driver |
3 | * | 4 | * |
4 | * Copyright (c) 2017 Dell Inc. | 5 | * Copyright (c) 2017 Dell Inc. |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #ifndef _DELL_WMI_DESCRIPTOR_H_ | 8 | #ifndef _DELL_WMI_DESCRIPTOR_H_ |
diff --git a/drivers/platform/x86/peaq-wmi.c b/drivers/platform/x86/peaq-wmi.c index 9b9e1f39bbfb..fdeb3624c529 100644 --- a/drivers/platform/x86/peaq-wmi.c +++ b/drivers/platform/x86/peaq-wmi.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * PEAQ 2-in-1 WMI hotkey driver | 3 | * PEAQ 2-in-1 WMI hotkey driver |
3 | * Copyright (C) 2017 Hans de Goede <hdegoede@redhat.com> | 4 | * Copyright (C) 2017 Hans de Goede <hdegoede@redhat.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/acpi.h> | 7 | #include <linux/acpi.h> |
diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c index 7b160ee98115..123e52c73c86 100644 --- a/drivers/platform/x86/samsung-laptop.c +++ b/drivers/platform/x86/samsung-laptop.c | |||
@@ -1,13 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Samsung Laptop driver | 3 | * Samsung Laptop driver |
3 | * | 4 | * |
4 | * Copyright (C) 2009,2011 Greg Kroah-Hartman (gregkh@suse.de) | 5 | * Copyright (C) 2009,2011 Greg Kroah-Hartman (gregkh@suse.de) |
5 | * Copyright (C) 2009,2011 Novell Inc. | 6 | * Copyright (C) 2009,2011 Novell Inc. |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License version 2 as published by | ||
9 | * the Free Software Foundation. | ||
10 | * | ||
11 | */ | 7 | */ |
12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
13 | 9 | ||
diff --git a/drivers/platform/x86/samsung-q10.c b/drivers/platform/x86/samsung-q10.c index a2fb7fbc3273..6eb08b539311 100644 --- a/drivers/platform/x86/samsung-q10.c +++ b/drivers/platform/x86/samsung-q10.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for Samsung Q10 and related laptops: controls the backlight | 3 | * Driver for Samsung Q10 and related laptops: controls the backlight |
3 | * | 4 | * |
4 | * Copyright (c) 2011 Frederick van der Wyck <fvanderwyck@gmail.com> | 5 | * Copyright (c) 2011 Frederick van der Wyck <fvanderwyck@gmail.com> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | */ | 6 | */ |
11 | 7 | ||
12 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index be1d137c6079..57a5dc60c58a 100644 --- a/drivers/platform/x86/toshiba_bluetooth.c +++ b/drivers/platform/x86/toshiba_bluetooth.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Toshiba Bluetooth Enable Driver | 3 | * Toshiba Bluetooth Enable Driver |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * | 7 | * |
7 | * Thanks to Matthew Garrett for background info on ACPI innards which | 8 | * Thanks to Matthew Garrett for background info on ACPI innards which |
8 | * normal people aren't meant to understand :-) | 9 | * normal people aren't meant to understand :-) |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | 11 | ||
15 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |