* [PATCH] staging: mt29f_spinand: add SPDX identifiers
@ 2018-12-23 9:57 Michael Straube
2019-01-04 8:39 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Michael Straube @ 2018-12-23 9:57 UTC (permalink / raw)
To: gregkh; +Cc: devel, linux-kernel, Michael Straube
This satisfies a checkpatch warning and is the preferred
method for notating the license.
The SPDX identifier is a legally binding shorthand, which
can be used instead of the full boiler plate text.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
---
drivers/staging/mt29f_spinand/mt29f_spinand.c | 11 +----------
drivers/staging/mt29f_spinand/mt29f_spinand.h | 12 ++----------
2 files changed, 3 insertions(+), 20 deletions(-)
diff --git a/drivers/staging/mt29f_spinand/mt29f_spinand.c b/drivers/staging/mt29f_spinand/mt29f_spinand.c
index def8a1f57d1c..8630f7012957 100644
--- a/drivers/staging/mt29f_spinand/mt29f_spinand.c
+++ b/drivers/staging/mt29f_spinand/mt29f_spinand.c
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2003-2013 Broadcom Corporation
*
* Copyright (c) 2009-2010 Micron Technology, Inc.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * 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>
diff --git a/drivers/staging/mt29f_spinand/mt29f_spinand.h b/drivers/staging/mt29f_spinand/mt29f_spinand.h
index 457dc7ffdaf1..38837cc6421c 100644
--- a/drivers/staging/mt29f_spinand/mt29f_spinand.h
+++ b/drivers/staging/mt29f_spinand/mt29f_spinand.h
@@ -1,17 +1,9 @@
-/*-
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
* Copyright 2013 Broadcom Corporation
*
* Copyright (c) 2009-2010 Micron Technology, Inc.
*
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * 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.
- *
* Henry Pan <hspan@micron.com>
*
* based on nand.h
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: mt29f_spinand: add SPDX identifiers
2018-12-23 9:57 [PATCH] staging: mt29f_spinand: add SPDX identifiers Michael Straube
@ 2019-01-04 8:39 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2019-01-04 8:39 UTC (permalink / raw)
To: Michael Straube; +Cc: devel, linux-kernel
On Sun, Dec 23, 2018 at 10:57:02AM +0100, Michael Straube wrote:
> This satisfies a checkpatch warning and is the preferred
> method for notating the license.
>
> The SPDX identifier is a legally binding shorthand, which
> can be used instead of the full boiler plate text.
>
> Signed-off-by: Michael Straube <straube.linux@gmail.com>
> ---
> drivers/staging/mt29f_spinand/mt29f_spinand.c | 11 +----------
> drivers/staging/mt29f_spinand/mt29f_spinand.h | 12 ++----------
> 2 files changed, 3 insertions(+), 20 deletions(-)
This driver is no longer in the kernel tree :(
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-04 8:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-23 9:57 [PATCH] staging: mt29f_spinand: add SPDX identifiers Michael Straube
2019-01-04 8:39 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox