Skip to contentSkip to conversation

Input: cpcap-pwrbutton - replace GPLv2 boilerplate with SPDX

PATCH Applied Sebastian Reichel 2 participants 2 messages Jul 5, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Input: cpcap-pwrbutton - replace GPLv2 boilerplate with SPDX

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

---
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(-)
drivers/input/misc/cpcap-pwrbutton.c +1 -9
index 5aff5a7d6a35..85cddb84717a 100644
@@ -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>
Signature · 1 line
2.40.1