2024-01-21 21:12:02

by Duje Mihanović

[permalink] [raw]
Subject: [PATCH] Input - 88pm80x_onkey: add SPDX and drop GPL boilerplate

Add a SPDX-License-Identifier to the 88PM80x onkey driver and drop the
GPL boilerplate in accordance with current kernel code guidelines.

Signed-off-by: Duje Mihanović <[email protected]>
---
drivers/input/misc/88pm80x_onkey.c | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/drivers/input/misc/88pm80x_onkey.c b/drivers/input/misc/88pm80x_onkey.c
index 31f0702c3d01..4b0685f96113 100644
--- a/drivers/input/misc/88pm80x_onkey.c
+++ b/drivers/input/misc/88pm80x_onkey.c
@@ -1,22 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Marvell 88PM80x ONKEY driver
*
* Copyright (C) 2012 Marvell International Ltd.
* Haojian Zhuang <[email protected]>
* Qiao Zhou <[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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

#include <linux/kernel.h>

---
base-commit: 0dd3ee31125508cd67f7e7172247f05b7fd1753a
change-id: 20240121-88pm80x-onkey-spdx-27c059f68884

Best regards,
--
Duje Mihanović <[email protected]>




2024-01-22 18:53:39

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH] Input - 88pm80x_onkey: add SPDX and drop GPL boilerplate

On Sun, Jan 21, 2024 at 10:11:00PM +0100, Duje Mihanović wrote:
> Add a SPDX-License-Identifier to the 88PM80x onkey driver and drop the
> GPL boilerplate in accordance with current kernel code guidelines.
>
> Signed-off-by: Duje Mihanović <[email protected]>
> ---
> drivers/input/misc/88pm80x_onkey.c | 14 +-------------
> 1 file changed, 1 insertion(+), 13 deletions(-)

Reviewed-by: Greg Kroah-Hartman <[email protected]>

2024-01-22 19:28:33

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [PATCH] Input - 88pm80x_onkey: add SPDX and drop GPL boilerplate

On Sun, Jan 21, 2024 at 10:11:00PM +0100, Duje Mihanović wrote:
> Add a SPDX-License-Identifier to the 88PM80x onkey driver and drop the
> GPL boilerplate in accordance with current kernel code guidelines.
>
> Signed-off-by: Duje Mihanović <[email protected]>

Applied, thank you.

--
Dmitry