[alsa-devel] [PATCH] ASoC: nau8822: convert to SPDX identifiers

David Lin CTLIN0 at nuvoton.com
Thu Nov 15 10:14:47 CET 2018


This patch updates license to SPDX-License-Identifier
instead of verbose license text.

Signed-off-by: David Lin <CTLIN0 at nuvoton.com>
---
 sound/soc/codecs/nau8822.c | 26 +++++++++++---------------
 sound/soc/codecs/nau8822.h | 11 +++++------
 2 files changed, 16 insertions(+), 21 deletions(-)

diff --git a/sound/soc/codecs/nau8822.c b/sound/soc/codecs/nau8822.c
index 622ce947f134..c6152a044416 100644
--- a/sound/soc/codecs/nau8822.c
+++ b/sound/soc/codecs/nau8822.c
@@ -1,18 +1,14 @@
-/*
- * nau8822.c  --  NAU8822 ALSA Soc Audio Codec driver
- *
- * Copyright 2017 Nuvoton Technology Corp.
- *
- * Author: David Lin <ctlin0 at nuvoton.com>
- * Co-author: John Hsu <kchsu0 at nuvoton.com>
- * Co-author: Seven Li <wtli at nuvoton.com>
- *
- * Based on WM8974.c
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// nau8822.c  --  NAU8822 ALSA Soc Audio driver
+//
+// Copyright 2017 Nuvoton Technology Crop.
+//
+// Author: David Lin <ctlin0 at nuvoton.com>
+// Co-author: John Hsu <kchsu0 at nuvoton.com>
+// Co-author: Seven Li <wtli at nuvoton.com>
+//
+// Based on WM8974.c
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
diff --git a/sound/soc/codecs/nau8822.h b/sound/soc/codecs/nau8822.h
index aa79c969cd44..d15afd782815 100644
--- a/sound/soc/codecs/nau8822.h
+++ b/sound/soc/codecs/nau8822.h
@@ -1,13 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
- * nau8822.h  --  NAU8822 Soc Audio Codec driver
+ * nau8822.h  --  NAU8822 ALSA SoC Audio driver
+ *
+ * Copyright 2017 Nuvoton Technology Crop.
  *
  * Author: David Lin <ctlin0 at nuvoton.com>
- * Co-author: John Hsu <kchsu0 at nuvoton.com>
+ * Co-author: John Hsu <kchsu at nuvoton.com>
  * Co-author: Seven Li <wtli at nuvoton.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #ifndef __NAU8822_H__
-- 
2.18.0



More information about the Alsa-devel mailing list