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/w1 | |
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/w1')
-rw-r--r-- | drivers/w1/masters/w1-gpio.c | 5 | ||||
-rw-r--r-- | drivers/w1/slaves/w1_ds2780.c | 6 | ||||
-rw-r--r-- | drivers/w1/slaves/w1_ds2780.h | 6 | ||||
-rw-r--r-- | drivers/w1/slaves/w1_ds2781.c | 6 | ||||
-rw-r--r-- | drivers/w1/slaves/w1_ds2781.h | 6 |
5 files changed, 5 insertions, 24 deletions
diff --git a/drivers/w1/masters/w1-gpio.c b/drivers/w1/masters/w1-gpio.c index 55e11bf8ebaf..d4632aace402 100644 --- a/drivers/w1/masters/w1-gpio.c +++ b/drivers/w1/masters/w1-gpio.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * w1-gpio - GPIO w1 bus master driver | 3 | * w1-gpio - GPIO w1 bus master driver |
3 | * | 4 | * |
4 | * Copyright (C) 2007 Ville Syrjala <syrjala@sci.fi> | 5 | * Copyright (C) 2007 Ville Syrjala <syrjala@sci.fi> |
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 | ||
8 | * as published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/init.h> | 8 | #include <linux/init.h> |
diff --git a/drivers/w1/slaves/w1_ds2780.c b/drivers/w1/slaves/w1_ds2780.c index a60528131154..c689b1b987b8 100644 --- a/drivers/w1/slaves/w1_ds2780.c +++ b/drivers/w1/slaves/w1_ds2780.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * 1-Wire implementation for the ds2780 chip | 3 | * 1-Wire implementation for the ds2780 chip |
3 | * | 4 | * |
@@ -6,11 +7,6 @@ | |||
6 | * Author: Clifton Barnes <cabarnes@indesign-llc.com> | 7 | * Author: Clifton Barnes <cabarnes@indesign-llc.com> |
7 | * | 8 | * |
8 | * Based on w1-ds2760 driver | 9 | * Based on w1-ds2760 driver |
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 | * | ||
14 | */ | 10 | */ |
15 | 11 | ||
16 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
diff --git a/drivers/w1/slaves/w1_ds2780.h b/drivers/w1/slaves/w1_ds2780.h index a1fba79eb1b5..99e38ed788a5 100644 --- a/drivers/w1/slaves/w1_ds2780.h +++ b/drivers/w1/slaves/w1_ds2780.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * 1-Wire implementation for the ds2780 chip | 3 | * 1-Wire implementation for the ds2780 chip |
3 | * | 4 | * |
@@ -6,11 +7,6 @@ | |||
6 | * Author: Clifton Barnes <cabarnes@indesign-llc.com> | 7 | * Author: Clifton Barnes <cabarnes@indesign-llc.com> |
7 | * | 8 | * |
8 | * Based on w1-ds2760 driver | 9 | * Based on w1-ds2760 driver |
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 | * | ||
14 | */ | 10 | */ |
15 | 11 | ||
16 | #ifndef _W1_DS2780_H | 12 | #ifndef _W1_DS2780_H |
diff --git a/drivers/w1/slaves/w1_ds2781.c b/drivers/w1/slaves/w1_ds2781.c index 645be6e0b24a..84d6ceec5da5 100644 --- a/drivers/w1/slaves/w1_ds2781.c +++ b/drivers/w1/slaves/w1_ds2781.c | |||
@@ -1,14 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * 1-Wire implementation for the ds2781 chip | 3 | * 1-Wire implementation for the ds2781 chip |
3 | * | 4 | * |
4 | * Author: Renata Sayakhova <renata@oktetlabs.ru> | 5 | * Author: Renata Sayakhova <renata@oktetlabs.ru> |
5 | * | 6 | * |
6 | * Based on w1-ds2780 driver | 7 | * Based on w1-ds2780 driver |
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 | * | ||
12 | */ | 8 | */ |
13 | 9 | ||
14 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/drivers/w1/slaves/w1_ds2781.h b/drivers/w1/slaves/w1_ds2781.h index 557dfb0b4f64..fa902dfa0136 100644 --- a/drivers/w1/slaves/w1_ds2781.h +++ b/drivers/w1/slaves/w1_ds2781.h | |||
@@ -1,14 +1,10 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * 1-Wire implementation for the ds2780 chip | 3 | * 1-Wire implementation for the ds2780 chip |
3 | * | 4 | * |
4 | * Author: Renata Sayakhova <renata@oktetlabs.ru> | 5 | * Author: Renata Sayakhova <renata@oktetlabs.ru> |
5 | * | 6 | * |
6 | * Based on w1-ds2760 driver | 7 | * Based on w1-ds2760 driver |
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 | * | ||
12 | */ | 8 | */ |
13 | 9 | ||
14 | #ifndef _W1_DS2781_H | 10 | #ifndef _W1_DS2781_H |