2023-07-05 21:32:20

by Sebastian Reichel

[permalink] [raw]
Subject: [PATCH v1] Input: cpcap-pwrbutton - replace GPLv2 boilerplate with SPDX

Replace the GPLv2 boilerplate text with a nice and short
SPDX header.

Signed-off-by: Sebastian Reichel <[email protected]>
---
Based on afbc67a90c7ccef304796af15477b43de5555b07
("Input: cpcap-pwrbutton - remove initial kernel-doc notation")
---
drivers/input/misc/cpcap-pwrbutton.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/drivers/input/misc/cpcap-pwrbutton.c b/drivers/input/misc/cpcap-pwrbutton.c
index 5aff5a7d6a35..85cddb84717a 100644
--- a/drivers/input/misc/cpcap-pwrbutton.c
+++ b/drivers/input/misc/cpcap-pwrbutton.c
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* CPCAP Power Button Input Driver
*
* Copyright (C) 2017 Sebastian Reichel <[email protected]>
- *
- * This file is subject to the terms and conditions of the GNU General
- * Public License. See the file "COPYING" in the main directory of this
- * archive for more details.
- *
- * 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/module.h>
--
2.40.1



2023-07-05 22:48:32

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [PATCH v1] Input: cpcap-pwrbutton - replace GPLv2 boilerplate with SPDX

On Wed, Jul 05, 2023 at 11:22:31PM +0200, Sebastian Reichel wrote:
> Replace the GPLv2 boilerplate text with a nice and short
> SPDX header.
>
> Signed-off-by: Sebastian Reichel <[email protected]>

Applied, thank you.

--
Dmitry