Skip to contentSkip to conversation

pinctrl: madera: Fixup SPDX headers

PATCH In review Charles Keepax 3 participants 4 messages Jun 25, 2019 – Jun 26, 2019

Subsystems (3)
lore
Share & tools
lore

Charles Keepax

author maintainer
#0 lore raw

PATCH 1/2 pinctrl: madera: Fixup SPDX headers

GPL-2.0-only is the preferred way of expressing v2 of the GPL, so switch to that. Remove some redundant copyright notices and correct some instances where the wrong comment type has been used in header files.

---
 drivers/pinctrl/cirrus/pinctrl-cs47l35.c     | 6 +-----
 drivers/pinctrl/cirrus/pinctrl-cs47l85.c     | 6 +-----
 drivers/pinctrl/cirrus/pinctrl-cs47l90.c     | 6 +-----
 drivers/pinctrl/cirrus/pinctrl-madera-core.c | 6 +-----
 drivers/pinctrl/cirrus/pinctrl-madera.h      | 6 +-----
 5 files changed, 5 insertions(+), 25 deletions(-)
drivers/pinctrl/cirrus/pinctrl-cs47l35.c +1 -5
index 06b59160783d7..53a8eab19aad3 100644
@@ -1,12 +1,8 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Pinctrl for Cirrus Logic CS47L35
  *
  * Copyright (C) 2016-2017 Cirrus Logic
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by the
- * Free Software Foundation; version 2.
  */
 
 #include <linux/err.h>
drivers/pinctrl/cirrus/pinctrl-cs47l85.c +1 -5
index 0a322e2a0fde9..e08c7992d252d 100644
@@ -1,12 +1,8 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Pinctrl for Cirrus Logic CS47L85
  *
  * Copyright (C) 2016-2017 Cirrus Logic
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by the
- * Free Software Foundation; version 2.
  */
 
 #include <linux/err.h>
drivers/pinctrl/cirrus/pinctrl-cs47l90.c +1 -5
index fc38f579f4924..3151f107adc4c 100644
@@ -1,12 +1,8 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Pinctrl for Cirrus Logic CS47L90
  *
  * Copyright (C) 2016-2017 Cirrus Logic
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by the
- * Free Software Foundation; version 2.
  */
 
 #include <linux/err.h>
drivers/pinctrl/cirrus/pinctrl-madera-core.c +1 -5
index 7c9694593f790..c6b9f65f23621 100644
@@ -1,12 +1,8 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Pinctrl for Cirrus Logic Madera codecs
  *
  * Copyright (C) 2016-2018 Cirrus Logic
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by the
- * Free Software Foundation; version 2.
  */
 
 #include <linux/err.h>
drivers/pinctrl/cirrus/pinctrl-madera.h +1 -5
index 8000f4f832a12..4ae13918316fe 100644
@@ -1,12 +1,8 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Pinctrl for Cirrus Logic Madera codecs
  *
  * Copyright (C) 2016-2017 Cirrus Logic
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by the
- * Free Software Foundation; version 2.
  */
 
 #ifndef PINCTRL_MADERA_H
Signature · 1 line
2.11.0
author maintainer
#1 lore raw

PATCH 2/2 gpio: madera: Fixup SPDX headers

GPL-2.0-only is the preferred way of expressing v2 of the GPL, so switch to that and remove some redundant copyright notices.

---
 drivers/gpio/gpio-madera.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/gpio/gpio-madera.c +1 -5
index c9dad0543672a..4dbc837d12155 100644
@@ -1,12 +1,8 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * GPIO support for Cirrus Logic Madera codecs
  *
  * Copyright (C) 2015-2018 Cirrus Logic
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by the
- * Free Software Foundation; version 2.
  */
 
 #include <linux/gpio/driver.h>
Signature · 1 line
2.11.0
#2 lore raw

Re: [PATCH 2/2] gpio: madera: Fixup SPDX headers

wt., 25 cze 2019 o 17:39 Charles Keepax
<[email protected]> napisał(a):

Quoted 28 lines

GPL-2.0-only is the preferred way of expressing v2 of the GPL, so switch to that and remove some redundant copyright notices.

---
 drivers/gpio/gpio-madera.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/gpio/gpio-madera.c +1 -6
index c9dad0543672a..4dbc837d12155 100644
@@ -1,12 +1,8 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * GPIO support for Cirrus Logic Madera codecs
  *
  * Copyright (C) 2015-2018 Cirrus Logic
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by the
- * Free Software Foundation; version 2.
  */
 
 #include <linux/gpio/driver.h>
--
Quoted 2 lines

2.11.0

Patch applied, thanks!

Bart