Skip to contentSkip to conversation

pwm: lpss: Convert to use SPDX identifier

PATCH In review Mika Westerberg 2 participants 2 messages Jun 20, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 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
index c1527cb645be..5e47d9bccf22 100644
@@ -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
index 757230e1f575..ce77539a0855 100644
@@ -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
index 2ac3a2aa9e53..9a1b25926956 100644
@@ -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
index 3236be835bd9..f47dede100f8 100644
@@ -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
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Mika Westerberg

This gets rid of the license boilerplate duplicated in each file.

No functional changes intended.

Quoted 89 lines
---
 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
index c1527cb645be..5e47d9bccf22 100644
@@ -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
index 757230e1f575..ce77539a0855 100644
@@ -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
index 2ac3a2aa9e53..9a1b25926956 100644
@@ -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
index 3236be835bd9..f47dede100f8 100644
@@ -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
Signature · 2 lines
With Best Regards,
Andy Shevchenko