diff mbox series

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

Message ID 20230705212231.631525-1-sre@kernel.org (mailing list archive)
State Mainlined
Commit 2479191c30fe90c368fd6c8842e9846959466ccd
Headers show
Series [v1] Input: cpcap-pwrbutton - replace GPLv2 boilerplate with SPDX | expand

Commit Message

Sebastian Reichel July 5, 2023, 9:22 p.m. UTC
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(-)

Comments

Dmitry Torokhov July 5, 2023, 9:51 p.m. UTC | #1
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.
diff mbox series

Patch

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>