Skip to contentSkip to conversation

mfd: stm32: Adopt SPDX identifier

PATCH Superseded Benjamin Gaignard 3 participants 3 messages Dec 5, 2017 – Dec 7, 2017

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: stm32: Adopt SPDX identifier

Add SPDX identifier

---
 drivers/mfd/stm32-lptimer.c       | 2 +-
 drivers/mfd/stm32-timers.c        | 2 +-
 include/linux/mfd/stm32-lptimer.h | 2 +-
 include/linux/mfd/stm32-timers.h  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
drivers/mfd/stm32-lptimer.c +1 -1
index 075330a25f61..2606e340c9f7 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * STM32 Low-Power Timer parent driver.
  *
@@ -7,7 +8,6 @@
  *
  * Inspired by Benjamin Gaignard's stm32-timers driver
  *
- * License terms:  GNU General Public License (GPL), version 2
  */
 
 #include <linux/mfd/stm32-lptimer.h>
drivers/mfd/stm32-timers.c +1 -1
index a6675a449409..250c4c4411cd 100644
@@ -1,9 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) STMicroelectronics 2016
  *
  * Author: Benjamin Gaignard <[email protected]>
  *
- * License terms:  GNU General Public License (GPL), version 2
  */
 
 #include <linux/mfd/stm32-timers.h>
include/linux/mfd/stm32-lptimer.h +1 -1
index 77c7cf40d9b4..e5a2cc8aea56 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * STM32 Low-Power Timer parent driver.
  *
@@ -7,7 +8,6 @@
  *
  * Inspired by Benjamin Gaignard's stm32-timers driver
  *
- * License terms:  GNU General Public License (GPL), version 2
  */
 
 #ifndef _LINUX_STM32_LPTIMER_H_
include/linux/mfd/stm32-timers.h +1 -1
index ce7346e7f77a..13ffe2696e4b 100644
@@ -1,9 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (C) STMicroelectronics 2016
  *
  * Author: Benjamin Gaignard <[email protected]>
  *
- * License terms:  GNU General Public License (GPL), version 2
  */
 
 #ifndef _LINUX_STM32_GPTIMER_H_
Signature · 1 line
2.15.0
#1 lore raw
Quoted 20 lines · Benjamin Gaignard

Add SPDX identifier

---
 drivers/mfd/stm32-lptimer.c       | 2 +-
 drivers/mfd/stm32-timers.c        | 2 +-
 include/linux/mfd/stm32-lptimer.h | 2 +-
 include/linux/mfd/stm32-timers.h  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
drivers/mfd/stm32-lptimer.c +1 -0
index 075330a25f61..2606e340c9f7 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * STM32 Low-Power Timer parent driver.
  *

drivers/mfd/stm32-lptimer.c line 11

Quoted 5 lines
drivers/mfd/stm32-lptimer.c +0 -1
@@ -7,7 +8,6 @@
  *
  * Inspired by Benjamin Gaignard's stm32-timers driver
  *
- * License terms:  GNU General Public License (GPL), version 2
  */

Nit, can you also remove the blank line above please?

Same will all of the below.

Signature · 4 lines
Lee Jones
Linaro Services Technical Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Acked-by on v1 1/1
#2 lore raw
In reply to Benjamin Gaignard
Quoted 75 lines · Benjamin Gaignard

Add SPDX identifier

---
 drivers/mfd/stm32-lptimer.c       | 2 +-
 drivers/mfd/stm32-timers.c        | 2 +-
 include/linux/mfd/stm32-lptimer.h | 2 +-
 include/linux/mfd/stm32-timers.h  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
drivers/mfd/stm32-lptimer.c +1 -1
index 075330a25f61..2606e340c9f7 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * STM32 Low-Power Timer parent driver.
  *
@@ -7,7 +8,6 @@
  *
  * Inspired by Benjamin Gaignard's stm32-timers driver
  *
- * License terms:  GNU General Public License (GPL), version 2
  */
 
 #include <linux/mfd/stm32-lptimer.h>
drivers/mfd/stm32-timers.c +1 -1
index a6675a449409..250c4c4411cd 100644
@@ -1,9 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) STMicroelectronics 2016
  *
  * Author: Benjamin Gaignard <[email protected]>
  *
- * License terms:  GNU General Public License (GPL), version 2
  */
 
 #include <linux/mfd/stm32-timers.h>
include/linux/mfd/stm32-lptimer.h +1 -1
index 77c7cf40d9b4..e5a2cc8aea56 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * STM32 Low-Power Timer parent driver.
  *
@@ -7,7 +8,6 @@
  *
  * Inspired by Benjamin Gaignard's stm32-timers driver
  *
- * License terms:  GNU General Public License (GPL), version 2
  */
 
 #ifndef _LINUX_STM32_LPTIMER_H_
include/linux/mfd/stm32-timers.h +1 -2
index ce7346e7f77a..13ffe2696e4b 100644
@@ -1,9 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (C) STMicroelectronics 2016
  *
  * Author: Benjamin Gaignard <[email protected]>
  *
- * License terms:  GNU General Public License (GPL), version 2
  */
 
 #ifndef _LINUX_STM32_GPTIMER_H_
--
Quoted 2 lines

2.15.0

Thank you for using the simpler SPDX license ids!

Signature · 2 lines
Cordially
Philippe Ombredanne