pwn: stm32: Adopt SPDX identifier

Message ID 20171205145721.20403-1-benjamin.gaignard@st.com
State New
Headers show
Series
  • pwn: stm32: Adopt SPDX identifier
Related show

Commit Message

Benjamin Gaignard Dec. 5, 2017, 2:57 p.m.
Add SPDX identifer

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>

---
 drivers/pwm/pwm-stm32-lp.c | 3 +--
 drivers/pwm/pwm-stm32.c    | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

-- 
2.15.0

Comments

Philippe Ombredanne Dec. 7, 2017, 10:11 a.m. | #1
On Tue, Dec 5, 2017 at 3:57 PM, Benjamin Gaignard
<benjamin.gaignard@linaro.org> wrote:
> Add SPDX identifer

>

> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>

> ---

>  drivers/pwm/pwm-stm32-lp.c | 3 +--

>  drivers/pwm/pwm-stm32.c    | 3 +--

>  2 files changed, 2 insertions(+), 4 deletions(-)

>

> diff --git a/drivers/pwm/pwm-stm32-lp.c b/drivers/pwm/pwm-stm32-lp.c

> index 1ac9e4384142..cbd271e80c3c 100644

> --- a/drivers/pwm/pwm-stm32-lp.c

> +++ b/drivers/pwm/pwm-stm32-lp.c

> @@ -1,3 +1,4 @@

> +// SPDX-License-Identifier: GPL-2.0

>  /*

>   * STM32 Low-Power Timer PWM driver

>   *

> @@ -5,8 +6,6 @@

>   *

>   * Author: Gerald Baeza <gerald.baeza@st.com>

>   *

> - * License terms: GNU General Public License (GPL), version 2

> - *

>   * Inspired by Gerald Baeza's pwm-stm32 driver

>   */

>

> diff --git a/drivers/pwm/pwm-stm32.c b/drivers/pwm/pwm-stm32.c

> index 6139512aab7b..be56d7af89c9 100644

> --- a/drivers/pwm/pwm-stm32.c

> +++ b/drivers/pwm/pwm-stm32.c

> @@ -1,10 +1,9 @@

> +// SPDX-License-Identifier: GPL-2.0

>  /*

>   * Copyright (C) STMicroelectronics 2016

>   *

>   * Author: Gerald Baeza <gerald.baeza@st.com>

>   *

> - * License terms: GNU General Public License (GPL), version 2

> - *

>   * Inspired by timer-stm32.c from Maxime Coquelin

>   *             pwm-atmel.c from Bo Shen

>   */

> --

> 2.15.0

>



Thank you for using the simpler SPDX license ids!

Acked-by: Philippe Ombredanne <pombredanne@nexb.com>


-- 
Cordially
Philippe Ombredanne
Benjamin Gaignard Jan. 10, 2018, 3:16 p.m. | #2
2017-12-07 11:11 GMT+01:00 Philippe Ombredanne <pombredanne@nexb.com>:
> On Tue, Dec 5, 2017 at 3:57 PM, Benjamin Gaignard

> <benjamin.gaignard@linaro.org> wrote:

>> Add SPDX identifer

>>

>> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>

>> ---

>>  drivers/pwm/pwm-stm32-lp.c | 3 +--

>>  drivers/pwm/pwm-stm32.c    | 3 +--

>>  2 files changed, 2 insertions(+), 4 deletions(-)

>>

>> diff --git a/drivers/pwm/pwm-stm32-lp.c b/drivers/pwm/pwm-stm32-lp.c

>> index 1ac9e4384142..cbd271e80c3c 100644

>> --- a/drivers/pwm/pwm-stm32-lp.c

>> +++ b/drivers/pwm/pwm-stm32-lp.c

>> @@ -1,3 +1,4 @@

>> +// SPDX-License-Identifier: GPL-2.0

>>  /*

>>   * STM32 Low-Power Timer PWM driver

>>   *

>> @@ -5,8 +6,6 @@

>>   *

>>   * Author: Gerald Baeza <gerald.baeza@st.com>

>>   *

>> - * License terms: GNU General Public License (GPL), version 2

>> - *

>>   * Inspired by Gerald Baeza's pwm-stm32 driver

>>   */

>>

>> diff --git a/drivers/pwm/pwm-stm32.c b/drivers/pwm/pwm-stm32.c

>> index 6139512aab7b..be56d7af89c9 100644

>> --- a/drivers/pwm/pwm-stm32.c

>> +++ b/drivers/pwm/pwm-stm32.c

>> @@ -1,10 +1,9 @@

>> +// SPDX-License-Identifier: GPL-2.0

>>  /*

>>   * Copyright (C) STMicroelectronics 2016

>>   *

>>   * Author: Gerald Baeza <gerald.baeza@st.com>

>>   *

>> - * License terms: GNU General Public License (GPL), version 2

>> - *

>>   * Inspired by timer-stm32.c from Maxime Coquelin

>>   *             pwm-atmel.c from Bo Shen

>>   */

>> --

>> 2.15.0

>>

>

>

> Thank you for using the simpler SPDX license ids!

>

> Acked-by: Philippe Ombredanne <pombredanne@nexb.com>

>


Gentle ping on this patch before the merge window

> --

> Cordially

> Philippe Ombredanne
Thierry Reding March 27, 2018, 9:25 p.m. | #3
On Tue, Dec 05, 2017 at 03:57:21PM +0100, Benjamin Gaignard wrote:
> Add SPDX identifer

> 

> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>

> ---

>  drivers/pwm/pwm-stm32-lp.c | 3 +--

>  drivers/pwm/pwm-stm32.c    | 3 +--

>  2 files changed, 2 insertions(+), 4 deletions(-)


Applied, thanks.

Thierry

Patch

diff --git a/drivers/pwm/pwm-stm32-lp.c b/drivers/pwm/pwm-stm32-lp.c
index 1ac9e4384142..cbd271e80c3c 100644
--- a/drivers/pwm/pwm-stm32-lp.c
+++ b/drivers/pwm/pwm-stm32-lp.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0
 /*
  * STM32 Low-Power Timer PWM driver
  *
@@ -5,8 +6,6 @@ 
  *
  * Author: Gerald Baeza <gerald.baeza@st.com>
  *
- * License terms: GNU General Public License (GPL), version 2
- *
  * Inspired by Gerald Baeza's pwm-stm32 driver
  */
 
diff --git a/drivers/pwm/pwm-stm32.c b/drivers/pwm/pwm-stm32.c
index 6139512aab7b..be56d7af89c9 100644
--- a/drivers/pwm/pwm-stm32.c
+++ b/drivers/pwm/pwm-stm32.c
@@ -1,10 +1,9 @@ 
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) STMicroelectronics 2016
  *
  * Author: Gerald Baeza <gerald.baeza@st.com>
  *
- * License terms: GNU General Public License (GPL), version 2
- *
  * Inspired by timer-stm32.c from Maxime Coquelin
  *             pwm-atmel.c from Bo Shen
  */