diff mbox

gpu: drm: stm: Adopt SPDX identifiers

Message ID 20171206112947.9569-1-benjamin.gaignard@st.com (mailing list archive)
State New, archived
Headers show

Commit Message

Benjamin Gaignard Dec. 6, 2017, 11:29 a.m. UTC
Add SPDX identifiers to files under stm directory

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
 drivers/gpu/drm/stm/drv.c             | 3 +--
 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 3 +--
 drivers/gpu/drm/stm/ltdc.c            | 3 +--
 drivers/gpu/drm/stm/ltdc.h            | 3 +--
 4 files changed, 4 insertions(+), 8 deletions(-)

Comments

Vincent Abriou Dec. 6, 2017, 2:26 p.m. UTC | #1
Benjamin,

The patch is fine for me:

Acked-by: Vincent Abriou <vincent.abriou@st.com>


Vincent

On 12/06/2017 12:29 PM, Benjamin Gaignard wrote:
> Add SPDX identifiers to files under stm directory

> 

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

> ---

>   drivers/gpu/drm/stm/drv.c             | 3 +--

>   drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 3 +--

>   drivers/gpu/drm/stm/ltdc.c            | 3 +--

>   drivers/gpu/drm/stm/ltdc.h            | 3 +--

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

> 

> diff --git a/drivers/gpu/drm/stm/drv.c b/drivers/gpu/drm/stm/drv.c

> index c857663eafc2..2d6e9ca0450b 100644

> --- a/drivers/gpu/drm/stm/drv.c

> +++ b/drivers/gpu/drm/stm/drv.c

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

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

>   /*

>    * Copyright (C) STMicroelectronics SA 2017

>    *

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

>    *          Yannick Fertre <yannick.fertre@st.com>

>    *          Fabien Dessenne <fabien.dessenne@st.com>

>    *          Mickael Reulier <mickael.reulier@st.com>

> - *

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

>    */

>   

>   #include <linux/component.h>

> diff --git a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c

> index e5b6310240fe..2e53410189f8 100644

> --- a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c

> +++ b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c

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

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

>   /*

>    * Copyright (C) STMicroelectronics SA 2017

>    *

>    * Authors: Philippe Cornu <philippe.cornu@st.com>

>    *          Yannick Fertre <yannick.fertre@st.com>

> - *

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

>    */

>   

>   #include <linux/clk.h>

> diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c

> index 735c9081202a..34b91d049481 100644

> --- a/drivers/gpu/drm/stm/ltdc.c

> +++ b/drivers/gpu/drm/stm/ltdc.c

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

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

>   /*

>    * Copyright (C) STMicroelectronics SA 2017

>    *

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

>    *          Yannick Fertre <yannick.fertre@st.com>

>    *          Fabien Dessenne <fabien.dessenne@st.com>

>    *          Mickael Reulier <mickael.reulier@st.com>

> - *

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

>    */

>   

>   #include <linux/clk.h>

> diff --git a/drivers/gpu/drm/stm/ltdc.h b/drivers/gpu/drm/stm/ltdc.h

> index ae437557d715..d5da74d24995 100644

> --- a/drivers/gpu/drm/stm/ltdc.h

> +++ b/drivers/gpu/drm/stm/ltdc.h

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

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

>   /*

>    * Copyright (C) STMicroelectronics SA 2017

>    *

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

>    *          Yannick Fertre <yannick.fertre@st.com>

>    *          Fabien Dessenne <fabien.dessenne@st.com>

>    *          Mickael Reulier <mickael.reulier@st.com>

> - *

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

>    */

>   

>   #ifndef _LTDC_H_

>
Benjamin Gaignard Dec. 6, 2017, 3:20 p.m. UTC | #2
2017-12-06 15:26 GMT+01:00 Vincent ABRIOU <vincent.abriou@st.com>:
> Benjamin,
>
> The patch is fine for me:
>
> Acked-by: Vincent Abriou <vincent.abriou@st.com>
>
> Vincent

Thanks,

Pushed in drm-misc-next

Benjamin

>
> On 12/06/2017 12:29 PM, Benjamin Gaignard wrote:
>> Add SPDX identifiers to files under stm directory
>>
>> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
>> ---
>>   drivers/gpu/drm/stm/drv.c             | 3 +--
>>   drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 3 +--
>>   drivers/gpu/drm/stm/ltdc.c            | 3 +--
>>   drivers/gpu/drm/stm/ltdc.h            | 3 +--
>>   4 files changed, 4 insertions(+), 8 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/stm/drv.c b/drivers/gpu/drm/stm/drv.c
>> index c857663eafc2..2d6e9ca0450b 100644
>> --- a/drivers/gpu/drm/stm/drv.c
>> +++ b/drivers/gpu/drm/stm/drv.c
>> @@ -1,3 +1,4 @@
>> +// SPDX-License-Identifier: GPL-2.0
>>   /*
>>    * Copyright (C) STMicroelectronics SA 2017
>>    *
>> @@ -5,8 +6,6 @@
>>    *          Yannick Fertre <yannick.fertre@st.com>
>>    *          Fabien Dessenne <fabien.dessenne@st.com>
>>    *          Mickael Reulier <mickael.reulier@st.com>
>> - *
>> - * License terms:  GNU General Public License (GPL), version 2
>>    */
>>
>>   #include <linux/component.h>
>> diff --git a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c
>> index e5b6310240fe..2e53410189f8 100644
>> --- a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c
>> +++ b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c
>> @@ -1,10 +1,9 @@
>> +// SPDX-License-Identifier: GPL-2.0
>>   /*
>>    * Copyright (C) STMicroelectronics SA 2017
>>    *
>>    * Authors: Philippe Cornu <philippe.cornu@st.com>
>>    *          Yannick Fertre <yannick.fertre@st.com>
>> - *
>> - * License terms:  GNU General Public License (GPL), version 2
>>    */
>>
>>   #include <linux/clk.h>
>> diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c
>> index 735c9081202a..34b91d049481 100644
>> --- a/drivers/gpu/drm/stm/ltdc.c
>> +++ b/drivers/gpu/drm/stm/ltdc.c
>> @@ -1,3 +1,4 @@
>> +// SPDX-License-Identifier: GPL-2.0
>>   /*
>>    * Copyright (C) STMicroelectronics SA 2017
>>    *
>> @@ -5,8 +6,6 @@
>>    *          Yannick Fertre <yannick.fertre@st.com>
>>    *          Fabien Dessenne <fabien.dessenne@st.com>
>>    *          Mickael Reulier <mickael.reulier@st.com>
>> - *
>> - * License terms:  GNU General Public License (GPL), version 2
>>    */
>>
>>   #include <linux/clk.h>
>> diff --git a/drivers/gpu/drm/stm/ltdc.h b/drivers/gpu/drm/stm/ltdc.h
>> index ae437557d715..d5da74d24995 100644
>> --- a/drivers/gpu/drm/stm/ltdc.h
>> +++ b/drivers/gpu/drm/stm/ltdc.h
>> @@ -1,3 +1,4 @@
>> +/* SPDX-License-Identifier: GPL-2.0 */
>>   /*
>>    * Copyright (C) STMicroelectronics SA 2017
>>    *
>> @@ -5,8 +6,6 @@
>>    *          Yannick Fertre <yannick.fertre@st.com>
>>    *          Fabien Dessenne <fabien.dessenne@st.com>
>>    *          Mickael Reulier <mickael.reulier@st.com>
>> - *
>> - * License terms:  GNU General Public License (GPL), version 2
>>    */
>>
>>   #ifndef _LTDC_H_
>>
Philippe Ombredanne Dec. 6, 2017, 9:28 p.m. UTC | #3
On Wed, Dec 6, 2017 at 3:26 PM, Vincent ABRIOU <vincent.abriou@st.com> wrote:
> Benjamin,
>
> The patch is fine for me:
>
> Acked-by: Vincent Abriou <vincent.abriou@st.com>
>
> Vincent
>
> On 12/06/2017 12:29 PM, Benjamin Gaignard wrote:
>> Add SPDX identifiers to files under stm directory
>>
>> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
>> ---
>>   drivers/gpu/drm/stm/drv.c             | 3 +--
>>   drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 3 +--
>>   drivers/gpu/drm/stm/ltdc.c            | 3 +--
>>   drivers/gpu/drm/stm/ltdc.h            | 3 +--
>>   4 files changed, 4 insertions(+), 8 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/stm/drv.c b/drivers/gpu/drm/stm/drv.c
>> index c857663eafc2..2d6e9ca0450b 100644
>> --- a/drivers/gpu/drm/stm/drv.c
>> +++ b/drivers/gpu/drm/stm/drv.c
>> @@ -1,3 +1,4 @@
>> +// SPDX-License-Identifier: GPL-2.0
>>   /*
>>    * Copyright (C) STMicroelectronics SA 2017
>>    *
>> @@ -5,8 +6,6 @@
>>    *          Yannick Fertre <yannick.fertre@st.com>
>>    *          Fabien Dessenne <fabien.dessenne@st.com>
>>    *          Mickael Reulier <mickael.reulier@st.com>
>> - *
>> - * License terms:  GNU General Public License (GPL), version 2
>>    */
>>
>>   #include <linux/component.h>
>> diff --git a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c
>> index e5b6310240fe..2e53410189f8 100644
>> --- a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c
>> +++ b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c
>> @@ -1,10 +1,9 @@
>> +// SPDX-License-Identifier: GPL-2.0
>>   /*
>>    * Copyright (C) STMicroelectronics SA 2017
>>    *
>>    * Authors: Philippe Cornu <philippe.cornu@st.com>
>>    *          Yannick Fertre <yannick.fertre@st.com>
>> - *
>> - * License terms:  GNU General Public License (GPL), version 2
>>    */
>>
>>   #include <linux/clk.h>
>> diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c
>> index 735c9081202a..34b91d049481 100644
>> --- a/drivers/gpu/drm/stm/ltdc.c
>> +++ b/drivers/gpu/drm/stm/ltdc.c
>> @@ -1,3 +1,4 @@
>> +// SPDX-License-Identifier: GPL-2.0
>>   /*
>>    * Copyright (C) STMicroelectronics SA 2017
>>    *
>> @@ -5,8 +6,6 @@
>>    *          Yannick Fertre <yannick.fertre@st.com>
>>    *          Fabien Dessenne <fabien.dessenne@st.com>
>>    *          Mickael Reulier <mickael.reulier@st.com>
>> - *
>> - * License terms:  GNU General Public License (GPL), version 2
>>    */
>>
>>   #include <linux/clk.h>
>> diff --git a/drivers/gpu/drm/stm/ltdc.h b/drivers/gpu/drm/stm/ltdc.h
>> index ae437557d715..d5da74d24995 100644
>> --- a/drivers/gpu/drm/stm/ltdc.h
>> +++ b/drivers/gpu/drm/stm/ltdc.h
>> @@ -1,3 +1,4 @@
>> +/* SPDX-License-Identifier: GPL-2.0 */
>>   /*
>>    * Copyright (C) STMicroelectronics SA 2017
>>    *
>> @@ -5,8 +6,6 @@
>>    *          Yannick Fertre <yannick.fertre@st.com>
>>    *          Fabien Dessenne <fabien.dessenne@st.com>
>>    *          Mickael Reulier <mickael.reulier@st.com>
>> - *
>> - * License terms:  GNU General Public License (GPL), version 2
>>    */
>>
>>   #ifndef _LTDC_H_
>>

For the use of SPDX ids: Thank you +++ and
Acked-by: Philippe Ombredanne <pombredanne@nexb.com>
diff mbox

Patch

diff --git a/drivers/gpu/drm/stm/drv.c b/drivers/gpu/drm/stm/drv.c
index c857663eafc2..2d6e9ca0450b 100644
--- a/drivers/gpu/drm/stm/drv.c
+++ b/drivers/gpu/drm/stm/drv.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) STMicroelectronics SA 2017
  *
@@ -5,8 +6,6 @@ 
  *          Yannick Fertre <yannick.fertre@st.com>
  *          Fabien Dessenne <fabien.dessenne@st.com>
  *          Mickael Reulier <mickael.reulier@st.com>
- *
- * License terms:  GNU General Public License (GPL), version 2
  */
 
 #include <linux/component.h>
diff --git a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c
index e5b6310240fe..2e53410189f8 100644
--- a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c
+++ b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c
@@ -1,10 +1,9 @@ 
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) STMicroelectronics SA 2017
  *
  * Authors: Philippe Cornu <philippe.cornu@st.com>
  *          Yannick Fertre <yannick.fertre@st.com>
- *
- * License terms:  GNU General Public License (GPL), version 2
  */
 
 #include <linux/clk.h>
diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c
index 735c9081202a..34b91d049481 100644
--- a/drivers/gpu/drm/stm/ltdc.c
+++ b/drivers/gpu/drm/stm/ltdc.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) STMicroelectronics SA 2017
  *
@@ -5,8 +6,6 @@ 
  *          Yannick Fertre <yannick.fertre@st.com>
  *          Fabien Dessenne <fabien.dessenne@st.com>
  *          Mickael Reulier <mickael.reulier@st.com>
- *
- * License terms:  GNU General Public License (GPL), version 2
  */
 
 #include <linux/clk.h>
diff --git a/drivers/gpu/drm/stm/ltdc.h b/drivers/gpu/drm/stm/ltdc.h
index ae437557d715..d5da74d24995 100644
--- a/drivers/gpu/drm/stm/ltdc.h
+++ b/drivers/gpu/drm/stm/ltdc.h
@@ -1,3 +1,4 @@ 
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (C) STMicroelectronics SA 2017
  *
@@ -5,8 +6,6 @@ 
  *          Yannick Fertre <yannick.fertre@st.com>
  *          Fabien Dessenne <fabien.dessenne@st.com>
  *          Mickael Reulier <mickael.reulier@st.com>
- *
- * License terms:  GNU General Public License (GPL), version 2
  */
 
 #ifndef _LTDC_H_