2018-02-20 15:56:46

by Daniel Baluta

[permalink] [raw]
Subject: [PATCH] ASoC: codecs: ak5558: Fix style for SPDX identifier

Use // for .c and /* for .h files according to:
Documentation/process/license-rules.rst file.

Signed-off-by: Daniel Baluta <[email protected]>
---
sound/soc/codecs/ak5558.c | 11 +++++------
sound/soc/codecs/ak5558.h | 4 ++--
2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/sound/soc/codecs/ak5558.c b/sound/soc/codecs/ak5558.c
index f224831..f4ed5cc 100644
--- a/sound/soc/codecs/ak5558.c
+++ b/sound/soc/codecs/ak5558.c
@@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
-/*
- * Audio driver for AK5558 ADC
- *
- * Copyright (C) 2015 Asahi Kasei Microdevices Corporation
- * Copyright 2018 NXP
- */
+//
+// Audio driver for AK5558 ADC
+//
+// Copyright (C) 2015 Asahi Kasei Microdevices Corporation
+// Copyright 2018 NXP

#include <linux/delay.h>
#include <linux/gpio/consumer.h>
diff --git a/sound/soc/codecs/ak5558.h b/sound/soc/codecs/ak5558.h
index 7c9e373..6105908 100644
--- a/sound/soc/codecs/ak5558.h
+++ b/sound/soc/codecs/ak5558.h
@@ -1,5 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
+/* SPDX-License-Identifier: GPL-2.0
+ *
* Audio driver header for AK5558
*
* Copyright (C) 2016 Asahi Kasei Microdevices Corporation
--
2.7.4



2018-02-20 15:21:58

by Mark Brown

[permalink] [raw]
Subject: Applied "ASoC: ak5558: Fix style for SPDX identifier" to the asoc tree

The patch

ASoC: ak5558: Fix style for SPDX identifier

has been applied to the asoc tree at

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From af3acca3e35c01920fe476f730dca7345d0a48df Mon Sep 17 00:00:00 2001
From: Daniel Baluta <[email protected]>
Date: Tue, 20 Feb 2018 14:53:10 +0200
Subject: [PATCH] ASoC: ak5558: Fix style for SPDX identifier

Use // for .c and /* for .h files according to:
Documentation/process/license-rules.rst file.

Signed-off-by: Daniel Baluta <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
---
sound/soc/codecs/ak5558.c | 11 +++++------
sound/soc/codecs/ak5558.h | 4 ++--
2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/sound/soc/codecs/ak5558.c b/sound/soc/codecs/ak5558.c
index f2248315677e..f4ed5cc40661 100644
--- a/sound/soc/codecs/ak5558.c
+++ b/sound/soc/codecs/ak5558.c
@@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
-/*
- * Audio driver for AK5558 ADC
- *
- * Copyright (C) 2015 Asahi Kasei Microdevices Corporation
- * Copyright 2018 NXP
- */
+//
+// Audio driver for AK5558 ADC
+//
+// Copyright (C) 2015 Asahi Kasei Microdevices Corporation
+// Copyright 2018 NXP

#include <linux/delay.h>
#include <linux/gpio/consumer.h>
diff --git a/sound/soc/codecs/ak5558.h b/sound/soc/codecs/ak5558.h
index 7c9e37374f39..61059086f161 100644
--- a/sound/soc/codecs/ak5558.h
+++ b/sound/soc/codecs/ak5558.h
@@ -1,5 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
+/* SPDX-License-Identifier: GPL-2.0
+ *
* Audio driver header for AK5558
*
* Copyright (C) 2016 Asahi Kasei Microdevices Corporation
--
2.16.1