diff mbox series

[15/17] spi: bcm2835: Switch to SPDX identifier

Message ID 1541868612-8268-1-git-send-email-stefan.wahren@i2se.com (mailing list archive)
State New, archived
Headers show
Series None | expand

Commit Message

Stefan Wahren Nov. 10, 2018, 4:50 p.m. UTC
Adopt the SPDX license identifier headers to ease license compliance
management.

Cc: Chris Boot <bootc@bootc.net>
Cc: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
---
 drivers/spi/spi-bcm2835.c    | 11 +----------
 drivers/spi/spi-bcm2835aux.c | 11 +----------
 2 files changed, 2 insertions(+), 20 deletions(-)

Comments

Eric Anholt Nov. 10, 2018, 4:58 p.m. UTC | #1
Stefan Wahren <stefan.wahren@i2se.com> writes:

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

Reviewed-by: Eric Anholt <eric@anholt.net>
Mark Brown Nov. 13, 2018, 6:02 p.m. UTC | #2
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.
Eric Anholt Nov. 13, 2018, 9:39 p.m. UTC | #3
Mark Brown <broonie@kernel.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.
diff mbox series

Patch

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@openwrt.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>