2022-03-10 09:07:27

by Kris Bahnsen

[permalink] [raw]
Subject: [PATCH v3 2/2] gpio: ts4900: Use SPDX header

Remove boilerplate, use the SPDX license identifier.

Signed-off-by: Kris Bahnsen <[email protected]>
---
drivers/gpio/gpio-ts4900.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/drivers/gpio/gpio-ts4900.c b/drivers/gpio/gpio-ts4900.c
index d918d2df4de2..69854fd2382a 100644
--- a/drivers/gpio/gpio-ts4900.c
+++ b/drivers/gpio/gpio-ts4900.c
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* Digital I/O driver for Technologic Systems I2C FPGA Core
*
* Copyright (C) 2015, 2018 Technologic Systems
* Copyright (C) 2016 Savoir-Faire Linux
- *
- * 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.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether expressed or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License version 2 for more details.
*/

#include <linux/gpio/driver.h>
--
2.11.0


2022-03-10 15:37:53

by Bartosz Golaszewski

[permalink] [raw]
Subject: Re: [PATCH v3 2/2] gpio: ts4900: Use SPDX header

On Thu, Mar 10, 2022 at 2:16 AM Kris Bahnsen <[email protected]> wrote:
>
> Remove boilerplate, use the SPDX license identifier.
>
> Signed-off-by: Kris Bahnsen <[email protected]>
> ---
> drivers/gpio/gpio-ts4900.c | 10 +---------
> 1 file changed, 1 insertion(+), 9 deletions(-)
>
> diff --git a/drivers/gpio/gpio-ts4900.c b/drivers/gpio/gpio-ts4900.c
> index d918d2df4de2..69854fd2382a 100644
> --- a/drivers/gpio/gpio-ts4900.c
> +++ b/drivers/gpio/gpio-ts4900.c
> @@ -1,17 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0
> /*
> * Digital I/O driver for Technologic Systems I2C FPGA Core
> *
> * Copyright (C) 2015, 2018 Technologic Systems
> * Copyright (C) 2016 Savoir-Faire Linux
> - *
> - * 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.
> - *
> - * This program is distributed "as is" WITHOUT ANY WARRANTY of any
> - * kind, whether expressed or implied; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License version 2 for more details.
> */
>
> #include <linux/gpio/driver.h>
> --
> 2.11.0
>

Applied, thanks!

Bart