linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 15/17] spi: bcm2835: Switch to SPDX identifier
@ 2018-11-10 16:50 Stefan Wahren
       [not found] ` <1541868612-8268-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Wahren @ 2018-11-10 16:50 UTC (permalink / raw)
  To: Eric Anholt, Mark Brown
  Cc: Chris Boot, linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-spi-u79uwXL29TY76Z2rM5mHXA

Adopt the SPDX license identifier headers to ease license compliance
management.

Cc: Chris Boot <bootc-1Slo4GeK4H1eoWH0uzbU5w@public.gmane.org>
Cc: Martin Sperl <kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
---
 drivers/spi/spi-bcm2835.c    | 11 +----------
 drivers/spi/spi-bcm2835aux.c | 11 +----------
 2 files changed, 2 insertions(+), 20 deletions(-)

diff --git a/drivers/spi/spi-bcm2835.c b/drivers/spi/spi-bcm2835.c
index b0b87ff..a418683 100644
--- a/drivers/spi/spi-bcm2835.c
+++ b/drivers/spi/spi-bcm2835.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Driver for Broadcom BCM2835 SPI Controllers
  *
@@ -8,16 +9,6 @@
  * This driver is inspired by:
  * spi-ath79.c, Copyright (C) 2009-2011 Gabor Juhos <juhosg-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
  * spi-atmel.c, Copyright (C) 2006 Atmel Corporation
- *
- * 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <asm/page.h>
diff --git a/drivers/spi/spi-bcm2835aux.c b/drivers/spi/spi-bcm2835aux.c
index 671e374..71bf3a5 100644
--- a/drivers/spi/spi-bcm2835aux.c
+++ b/drivers/spi/spi-bcm2835aux.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Driver for Broadcom BCM2835 auxiliary SPI Controllers
  *
@@ -7,16 +8,6 @@
  * Based on: spi-bcm2835.c
  *
  * Copyright (C) 2015 Martin Sperl
- *
- * 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/clk.h>
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 15/17] spi: bcm2835: Switch to SPDX identifier
       [not found] ` <1541868612-8268-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
@ 2018-11-10 16:58   ` Eric Anholt
  2018-11-13 18:02   ` Mark Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Eric Anholt @ 2018-11-10 16:58 UTC (permalink / raw)
  To: Stefan Wahren, Mark Brown
  Cc: Chris Boot, linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-spi-u79uwXL29TY76Z2rM5mHXA


[-- Attachment #1.1: Type: text/plain, Size: 226 bytes --]

Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> writes:

> Adopt the SPDX license identifier headers to ease license compliance
> management.

Reviewed-by: Eric Anholt <eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

[-- Attachment #2: Type: text/plain, Size: 206 bytes --]

_______________________________________________
linux-rpi-kernel mailing list
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 15/17] spi: bcm2835: Switch to SPDX identifier
       [not found] ` <1541868612-8268-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
  2018-11-10 16:58   ` Eric Anholt
@ 2018-11-13 18:02   ` Mark Brown
       [not found]     ` <20181113180251.GD2089-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
  1 sibling, 1 reply; 4+ messages in thread
From: Mark Brown @ 2018-11-13 18:02 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Chris Boot, linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-spi-u79uwXL29TY76Z2rM5mHXA


[-- Attachment #1.1: Type: text/plain, Size: 362 bytes --]

On Sat, Nov 10, 2018 at 05:50:12PM +0100, Stefan Wahren wrote:

> index b0b87ff..a418683 100644
> --- a/drivers/spi/spi-bcm2835.c
> +++ b/drivers/spi/spi-bcm2835.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0+
>  /*
>   * Driver for Broadcom BCM2835 SPI Controllers
>   *

Please convert the entire comment to a C++ one so it looks more
intentional.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 206 bytes --]

_______________________________________________
linux-rpi-kernel mailing list
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 15/17] spi: bcm2835: Switch to SPDX identifier
       [not found]     ` <20181113180251.GD2089-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
@ 2018-11-13 21:39       ` Eric Anholt
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Anholt @ 2018-11-13 21:39 UTC (permalink / raw)
  To: Mark Brown, Stefan Wahren
  Cc: Chris Boot, linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-spi-u79uwXL29TY76Z2rM5mHXA


[-- Attachment #1.1: Type: text/plain, Size: 757 bytes --]

Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> writes:

> [ Unknown signature status ]
> On Sat, Nov 10, 2018 at 05:50:12PM +0100, Stefan Wahren wrote:
>
>> index b0b87ff..a418683 100644
>> --- a/drivers/spi/spi-bcm2835.c
>> +++ b/drivers/spi/spi-bcm2835.c
>> @@ -1,3 +1,4 @@
>> +// SPDX-License-Identifier: GPL-2.0+
>>  /*
>>   * Driver for Broadcom BCM2835 SPI Controllers
>>   *
>
> Please convert the entire comment to a C++ one so it looks more
> intentional.

anholt@eliezer:anholt/src/linux% git grep -A1 SPDX **/*.c | grep -v SPDX | grep "/\*" | wc -l
5305
anholt@eliezer:anholt/src/linux% git grep -A1 SPDX **/*.c | grep -v SPDX | grep "//" | wc -l
683

I want to note that what you're asking for is in the minority of current
usage.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

[-- Attachment #2: Type: text/plain, Size: 206 bytes --]

_______________________________________________
linux-rpi-kernel mailing list
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-13 21:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-10 16:50 [PATCH 15/17] spi: bcm2835: Switch to SPDX identifier Stefan Wahren
     [not found] ` <1541868612-8268-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2018-11-10 16:58   ` Eric Anholt
2018-11-13 18:02   ` Mark Brown
     [not found]     ` <20181113180251.GD2089-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2018-11-13 21:39       ` Eric Anholt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).