diff mbox series

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

Message ID 20180912114552.3943-1-linus.walleij@linaro.org
State New
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(-)

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
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