diff mbox series

[2/2] gpio: xtensa: Cut down on boilerplate

Message ID 20180912114552.3943-1-linus.walleij@linaro.org
State Accepted
Commit 3edc688328127dea7c8b2d8bec24512ee070db1d
Headers show
Series [1/2] gpio: xtensa: Include the right header | expand

Commit Message

Linus Walleij Sept. 12, 2018, 11:45 a.m. UTC
Just use the SPDX header for the license.

Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/gpio/gpio-xtensa.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

-- 
2.17.1

Comments

Baruch Siach Sept. 12, 2018, 12:26 p.m. UTC | #1
Hi Linus,

On Wed, Sep 12, 2018 at 01:45:52PM +0200, Linus Walleij wrote:
> Just use the SPDX header for the license.

> 

> Cc: Baruch Siach <baruch@tkos.co.il>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>


Acked-by: Baruch Siach <baruch@tkos.co.il>


> ---

>  drivers/gpio/gpio-xtensa.c | 5 +----

>  1 file changed, 1 insertion(+), 4 deletions(-)

> 

> diff --git a/drivers/gpio/gpio-xtensa.c b/drivers/gpio/gpio-xtensa.c

> index d3834d727d3e..43d3fa5f511a 100644

> --- a/drivers/gpio/gpio-xtensa.c

> +++ b/drivers/gpio/gpio-xtensa.c

> @@ -1,11 +1,8 @@

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

>  /*

>   * Copyright (C) 2013 TangoTec Ltd.

>   * Author: Baruch Siach <baruch@tkos.co.il>

>   *

> - * This program is free software; you can redistribute it and/or modify

> - * it under the terms of the GNU General Public License version 2 as

> - * published by the Free Software Foundation.

> - *

>   * Driver for the Xtensa LX4 GPIO32 Option

>   *

>   * Documentation: Xtensa LX4 Microprocessor Data Book, Section 2.22


baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
diff mbox series

Patch

diff --git a/drivers/gpio/gpio-xtensa.c b/drivers/gpio/gpio-xtensa.c
index d3834d727d3e..43d3fa5f511a 100644
--- a/drivers/gpio/gpio-xtensa.c
+++ b/drivers/gpio/gpio-xtensa.c
@@ -1,11 +1,8 @@ 
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2013 TangoTec Ltd.
  * Author: Baruch Siach <baruch@tkos.co.il>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  * Driver for the Xtensa LX4 GPIO32 Option
  *
  * Documentation: Xtensa LX4 Microprocessor Data Book, Section 2.22