Skip to contentSkip to conversation

ASoC: msm8916-wcd: license and documentation fixes

PATCH New Johan Hovold 1 participant 3 messages Feb 8, 2019

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

v2 cover ASoC: msm8916-wcd: license and documentation fixes

This series adds the missing license information to the msm8916-wcd-analog driver and converts it's digital counterpart to SPDX.

Johan

v2
- drop the now applied binding doc update
- switch to c++ comments also for the copyright headers for consistency with the ASoC style

Johan Hovold (2):
ASoC: msm8916-wcd-analog: add missing license information
ASoC: msm8916-wcd-digital: convert license header to SPDX

 sound/soc/codecs/msm8916-wcd-analog.c  |  3 +++
 sound/soc/codecs/msm8916-wcd-digital.c | 13 ++-----------
 2 files changed, 5 insertions(+), 11 deletions(-)
Signature · 1 line
2.20.1
#1 lore raw

PATCH v2 1/2 ASoC: msm8916-wcd-analog: add missing license information

Add the missing license and copyright information which never made it into the analog driver when the original driver was split in two as part of the review process.

Fixes 585e881e5b9e ("ASoC: codecs: Add msm8916-wcd analog codec")
Cc Srinivas Kandagatla <[email protected]>
---
 sound/soc/codecs/msm8916-wcd-analog.c | 3 +++
 1 file changed, 3 insertions(+)
sound/soc/codecs/msm8916-wcd-analog.c +3 -0
index b7cf7cce95fe..368b6c09474b 100644
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
+// Copyright (c) 2016, The Linux Foundation. All rights reserved.
+
 #include <linux/module.h>
 #include <linux/err.h>
 #include <linux/kernel.h>
Signature · 1 line
2.20.1
#2 lore raw

PATCH v2 2/2 ASoC: msm8916-wcd-digital: convert license header to SPDX

In reply to Johan Hovold

Convert the GPLv2-only license header to SPDX.

---
 sound/soc/codecs/msm8916-wcd-digital.c | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)
sound/soc/codecs/msm8916-wcd-digital.c +2 -11
index 3063dedd21cf..3e7409c85dd2 100644
@@ -1,14 +1,5 @@
-/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * 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.
- */
+// SPDX-License-Identifier: GPL-2.0
+// Copyright (c) 2016, The Linux Foundation. All rights reserved.
 
 #include <linux/module.h>
 #include <linux/err.h>
Signature · 1 line
2.20.1