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

Sebastian Reichel posted 1 patch 2 years, 7 months ago
drivers/input/misc/cpcap-pwrbutton.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
[PATCH v1] Input: cpcap-pwrbutton - replace GPLv2 boilerplate with SPDX
Posted by Sebastian Reichel 2 years, 7 months ago
Replace the GPLv2 boilerplate text with a nice and short
SPDX header.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
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 <sre@kernel.org>
- *
- * 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
Re: [PATCH v1] Input: cpcap-pwrbutton - replace GPLv2 boilerplate with SPDX
Posted by Dmitry Torokhov 2 years, 7 months ago
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 <sre@kernel.org>

Applied, thank you.

-- 
Dmitry