pwm: lpss: Convert to use SPDX identifier
Subsystems (2)
PATCH 1/1 pwm: lpss: Convert to use SPDX identifier
This gets rid of the license boilerplate duplicated in each file.
No functional changes intended.
Signed-off-by Mika Westerberg <[email protected]>
--- drivers/pwm/pwm-lpss-pci.c | 5 +---- drivers/pwm/pwm-lpss-platform.c | 5 +---- drivers/pwm/pwm-lpss.c | 5 +---- drivers/pwm/pwm-lpss.h | 5 +---- 4 files changed, 4 insertions(+), 16 deletions(-)
drivers/pwm/pwm-lpss-pci.c +1 -4
@@ -1,13 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Intel Low Power Subsystem PWM controller PCI driver * * Copyright (C) 2014, Intel Corporation * * Derived from the original pwm-lpss.c -* -* 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. */ #include <linux/kernel.h>
drivers/pwm/pwm-lpss-platform.c +1 -4
@@ -1,13 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Intel Low Power Subsystem PWM controller driver * * Copyright (C) 2014, Intel Corporation * * Derived from the original pwm-lpss.c -* -* 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. */ #include <linux/acpi.h>
drivers/pwm/pwm-lpss.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Intel Low Power Subsystem PWM controller driver *
@@ -7,10 +8,6 @@* Author: Chang Rebecca Swee Fun <[email protected]> * Author: Chew Chiau Ee <[email protected]> * Author: Alan Cox <[email protected]> -* -* 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. */ #include <linux/delay.h>
drivers/pwm/pwm-lpss.h +1 -4
@@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Intel Low Power Subsystem PWM controller driver * * Copyright (C) 2014, Intel Corporation * * Derived from the original pwm-lpss.c -* -* 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. */ #ifndef __PWM_LPSS_H
Signature · 1 line
2.20.1
Quoted 3 lines · Mika Westerberg
This gets rid of the license boilerplate duplicated in each file.
No functional changes intended.
Reviewed-by Andy Shevchenko <[email protected]>
Quoted 89 lines
Signed-off-by Mika Westerberg <[email protected]>--- drivers/pwm/pwm-lpss-pci.c | 5 +---- drivers/pwm/pwm-lpss-platform.c | 5 +---- drivers/pwm/pwm-lpss.c | 5 +---- drivers/pwm/pwm-lpss.h | 5 +---- 4 files changed, 4 insertions(+), 16 deletions(-)drivers/pwm/pwm-lpss-pci.c +1
-4@@ -1,13 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Intel Low Power Subsystem PWM controller PCI driver * * Copyright (C) 2014, Intel Corporation * * Derived from the original pwm-lpss.c -* -* 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. */ #include <linux/kernel.h> drivers/pwm/pwm-lpss-platform.c +1
-4@@ -1,13 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Intel Low Power Subsystem PWM controller driver * * Copyright (C) 2014, Intel Corporation * * Derived from the original pwm-lpss.c -* -* 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. */ #include <linux/acpi.h> drivers/pwm/pwm-lpss.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Intel Low Power Subsystem PWM controller driver * @@ -7,10 +8,6 @@* Author: Chang Rebecca Swee Fun <[email protected]> * Author: Chew Chiau Ee <[email protected]> * Author: Alan Cox <[email protected]> -* -* 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. */ #include <linux/delay.h> drivers/pwm/pwm-lpss.h +1
-4@@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Intel Low Power Subsystem PWM controller driver * * Copyright (C) 2014, Intel Corporation * * Derived from the original pwm-lpss.c -* -* 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. */ #ifndef __PWM_LPSS_HSignature · 1 line
2.20.1
Signature · 2 lines
With Best Regards, Andy Shevchenko