2017-12-05 14:57:31

by Benjamin Gaignard

[permalink] [raw]
Subject: [PATCH] pwn: stm32: Adopt SPDX identifier

Add SPDX identifer

Signed-off-by: Benjamin Gaignard <[email protected]>
---
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 <[email protected]>
*
- * 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 <[email protected]>
*
- * 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


2017-12-07 10:11:57

by Philippe Ombredanne

[permalink] [raw]
Subject: Re: [PATCH] pwn: stm32: Adopt SPDX identifier

On Tue, Dec 5, 2017 at 3:57 PM, Benjamin Gaignard
<[email protected]> wrote:
> Add SPDX identifer
>
> Signed-off-by: Benjamin Gaignard <[email protected]>
> ---
> 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 <[email protected]>
> *
> - * 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 <[email protected]>
> *
> - * 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 <[email protected]>

--
Cordially
Philippe Ombredanne

2018-01-10 15:16:25

by Benjamin Gaignard

[permalink] [raw]
Subject: Re: [PATCH] pwn: stm32: Adopt SPDX identifier

2017-12-07 11:11 GMT+01:00 Philippe Ombredanne <[email protected]>:
> On Tue, Dec 5, 2017 at 3:57 PM, Benjamin Gaignard
> <[email protected]> wrote:
>> Add SPDX identifer
>>
>> Signed-off-by: Benjamin Gaignard <[email protected]>
>> ---
>> 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 <[email protected]>
>> *
>> - * 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 <[email protected]>
>> *
>> - * 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 <[email protected]>
>

Gentle ping on this patch before the merge window

> --
> Cordially
> Philippe Ombredanne

2018-03-27 21:27:14

by Thierry Reding

[permalink] [raw]
Subject: Re: [PATCH] pwn: stm32: Adopt SPDX identifier

On Tue, Dec 05, 2017 at 03:57:21PM +0100, Benjamin Gaignard wrote:
> Add SPDX identifer
>
> Signed-off-by: Benjamin Gaignard <[email protected]>
> ---
> drivers/pwm/pwm-stm32-lp.c | 3 +--
> drivers/pwm/pwm-stm32.c | 3 +--
> 2 files changed, 2 insertions(+), 4 deletions(-)

Applied, thanks.

Thierry


Attachments:
(No filename) (326.00 B)
signature.asc (849.00 B)
Download all attachments