* [PATCH] USB: chipidea: Use the correct style for SPDX License Identifier
@ 2020-03-15 10:55 Nishad Kamdar
2020-03-16 3:41 ` Peter Chen
0 siblings, 1 reply; 2+ messages in thread
From: Nishad Kamdar @ 2020-03-15 10:55 UTC (permalink / raw)
To: Peter Chen, Greg Kroah-Hartman, Shawn Guo, Sascha Hauer,
Fabio Estevam, Uwe Kleine-König, Pengutronix Kernel Team,
Joe Perches
Cc: NXP Linux Team, linux-usb, linux-kernel, linux-arm-kernel
This patch corrects the SPDX License Identifier style in
header files related to ChipIdea Highspeed Dual Role Controller.
For C header files Documentation/process/license-rules.rst
mandates C-like comments (opposed to C source files where
C++ style should be used).
Changes made by using a script provided by Joe Perches here:
https://lkml.org/lkml/2019/2/7/46.
Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
---
drivers/usb/chipidea/bits.h | 2 +-
drivers/usb/chipidea/ci.h | 2 +-
drivers/usb/chipidea/ci_hdrc_imx.h | 2 +-
drivers/usb/chipidea/otg.h | 2 +-
drivers/usb/chipidea/otg_fsm.h | 2 +-
drivers/usb/chipidea/udc.h | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/chipidea/bits.h b/drivers/usb/chipidea/bits.h
index 98da99510be7..b1540ce93264 100644
--- a/drivers/usb/chipidea/bits.h
+++ b/drivers/usb/chipidea/bits.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* bits.h - register bits of the ChipIdea USB IP core
*
diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h
index d49d5e1235d0..644ecaef17ee 100644
--- a/drivers/usb/chipidea/ci.h
+++ b/drivers/usb/chipidea/ci.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* ci.h - common structures, functions, and macros of the ChipIdea driver
*
diff --git a/drivers/usb/chipidea/ci_hdrc_imx.h b/drivers/usb/chipidea/ci_hdrc_imx.h
index de2aac9a2868..c2051aeba13f 100644
--- a/drivers/usb/chipidea/ci_hdrc_imx.h
+++ b/drivers/usb/chipidea/ci_hdrc_imx.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright 2012 Freescale Semiconductor, Inc.
*/
diff --git a/drivers/usb/chipidea/otg.h b/drivers/usb/chipidea/otg.h
index 4f8b8179ec96..5e7a6e571dd2 100644
--- a/drivers/usb/chipidea/otg.h
+++ b/drivers/usb/chipidea/otg.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2013-2014 Freescale Semiconductor, Inc.
*
diff --git a/drivers/usb/chipidea/otg_fsm.h b/drivers/usb/chipidea/otg_fsm.h
index 2b49d29bf2fb..1f5c5ae0e71e 100644
--- a/drivers/usb/chipidea/otg_fsm.h
+++ b/drivers/usb/chipidea/otg_fsm.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2014 Freescale Semiconductor, Inc.
*
diff --git a/drivers/usb/chipidea/udc.h b/drivers/usb/chipidea/udc.h
index e023735d94b7..ebb11b625bb8 100644
--- a/drivers/usb/chipidea/udc.h
+++ b/drivers/usb/chipidea/udc.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* udc.h - ChipIdea UDC structures
*
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH] USB: chipidea: Use the correct style for SPDX License Identifier
2020-03-15 10:55 [PATCH] USB: chipidea: Use the correct style for SPDX License Identifier Nishad Kamdar
@ 2020-03-16 3:41 ` Peter Chen
0 siblings, 0 replies; 2+ messages in thread
From: Peter Chen @ 2020-03-16 3:41 UTC (permalink / raw)
To: Nishad Kamdar, Greg Kroah-Hartman, Shawn Guo, Sascha Hauer,
Fabio Estevam, Uwe Kleine-König, Pengutronix Kernel Team,
Joe Perches
Cc: dl-linux-imx, linux-usb, linux-kernel, linux-arm-kernel
> This patch corrects the SPDX License Identifier style in header files related to
> ChipIdea Highspeed Dual Role Controller.
> For C header files Documentation/process/license-rules.rst
> mandates C-like comments (opposed to C source files where
> C++ style should be used).
>
> Changes made by using a script provided by Joe Perches here:
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flkml.org%2Fl
> kml%2F2019%2F2%2F7%2F46&data=02%7C01%7CPeter.Chen%40nxp.com
> %7Cbea69ff84b574ca6b48e08d7c8cf58cf%7C686ea1d3bc2b4c6fa92cd99c5c30163
> 5%7C0%7C0%7C637198665199494622&sdata=bk1n4%2BvnrfRS6ZDrps%2B
> uXiImdzaxKZ00YskBg6pjtn4%3D&reserved=0.
>
> Suggested-by: Joe Perches <joe@perches.com>
> Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
> ---
> drivers/usb/chipidea/bits.h | 2 +-
> drivers/usb/chipidea/ci.h | 2 +-
> drivers/usb/chipidea/ci_hdrc_imx.h | 2 +-
> drivers/usb/chipidea/otg.h | 2 +-
> drivers/usb/chipidea/otg_fsm.h | 2 +-
> drivers/usb/chipidea/udc.h | 2 +-
> 6 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/usb/chipidea/bits.h b/drivers/usb/chipidea/bits.h index
> 98da99510be7..b1540ce93264 100644
> --- a/drivers/usb/chipidea/bits.h
> +++ b/drivers/usb/chipidea/bits.h
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +/* SPDX-License-Identifier: GPL-2.0 */
> /*
> * bits.h - register bits of the ChipIdea USB IP core
> *
> diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h index
> d49d5e1235d0..644ecaef17ee 100644
> --- a/drivers/usb/chipidea/ci.h
> +++ b/drivers/usb/chipidea/ci.h
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +/* SPDX-License-Identifier: GPL-2.0 */
> /*
> * ci.h - common structures, functions, and macros of the ChipIdea driver
> *
> diff --git a/drivers/usb/chipidea/ci_hdrc_imx.h b/drivers/usb/chipidea/ci_hdrc_imx.h
> index de2aac9a2868..c2051aeba13f 100644
> --- a/drivers/usb/chipidea/ci_hdrc_imx.h
> +++ b/drivers/usb/chipidea/ci_hdrc_imx.h
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +/* SPDX-License-Identifier: GPL-2.0+ */
> /*
> * Copyright 2012 Freescale Semiconductor, Inc.
> */
> diff --git a/drivers/usb/chipidea/otg.h b/drivers/usb/chipidea/otg.h index
> 4f8b8179ec96..5e7a6e571dd2 100644
> --- a/drivers/usb/chipidea/otg.h
> +++ b/drivers/usb/chipidea/otg.h
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +/* SPDX-License-Identifier: GPL-2.0 */
> /*
> * Copyright (C) 2013-2014 Freescale Semiconductor, Inc.
> *
> diff --git a/drivers/usb/chipidea/otg_fsm.h b/drivers/usb/chipidea/otg_fsm.h index
> 2b49d29bf2fb..1f5c5ae0e71e 100644
> --- a/drivers/usb/chipidea/otg_fsm.h
> +++ b/drivers/usb/chipidea/otg_fsm.h
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +/* SPDX-License-Identifier: GPL-2.0 */
> /*
> * Copyright (C) 2014 Freescale Semiconductor, Inc.
> *
> diff --git a/drivers/usb/chipidea/udc.h b/drivers/usb/chipidea/udc.h index
> e023735d94b7..ebb11b625bb8 100644
> --- a/drivers/usb/chipidea/udc.h
> +++ b/drivers/usb/chipidea/udc.h
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +/* SPDX-License-Identifier: GPL-2.0 */
> /*
> * udc.h - ChipIdea UDC structures
> *
> --
> 2.17.1
Applied, thanks.
Peter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-16 3:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-15 10:55 [PATCH] USB: chipidea: Use the correct style for SPDX License Identifier Nishad Kamdar
2020-03-16 3:41 ` Peter Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).