diff mbox series

[01/11] usb: gadget: bdc: fix improper SPDX comment style for header file

Message ID 1601013499-28920-1-git-send-email-chunfeng.yun@mediatek.com
State Superseded
Headers show
Series [01/11] usb: gadget: bdc: fix improper SPDX comment style for header file | expand

Commit Message

Chunfeng Yun (云春峰) Sept. 25, 2020, 5:58 a.m. UTC
For C header files Documentation/process/license-rules.rst
mandates C-like comments (opposed to C source files where
C++ style should be used).

Change-Id: I70ad2038e20ba92497028d687c62d63c9ff93991
Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>

---
 drivers/usb/gadget/udc/bdc/bdc.h     | 2 +-
 drivers/usb/gadget/udc/bdc/bdc_cmd.h | 2 +-
 drivers/usb/gadget/udc/bdc/bdc_dbg.h | 2 +-
 drivers/usb/gadget/udc/bdc/bdc_ep.h  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

-- 
1.8.1.1.dirty

Comments

Chunfeng Yun (云春峰) Sept. 25, 2020, 6:10 a.m. UTC | #1
Hi, Felipe,

    Sorry, please ignore the series! forget version changes log

On Fri, 2020-09-25 at 13:58 +0800, Chunfeng Yun wrote:
> For C header files Documentation/process/license-rules.rst

> mandates C-like comments (opposed to C source files where

> C++ style should be used).

> 

> Change-Id: I70ad2038e20ba92497028d687c62d63c9ff93991

> Cc: Florian Fainelli <f.fainelli@gmail.com>

> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>

> Acked-by: Florian Fainelli <f.fainelli@gmail.com>

> ---

>  drivers/usb/gadget/udc/bdc/bdc.h     | 2 +-

>  drivers/usb/gadget/udc/bdc/bdc_cmd.h | 2 +-

>  drivers/usb/gadget/udc/bdc/bdc_dbg.h | 2 +-

>  drivers/usb/gadget/udc/bdc/bdc_ep.h  | 2 +-

>  4 files changed, 4 insertions(+), 4 deletions(-)

> 

> diff --git a/drivers/usb/gadget/udc/bdc/bdc.h b/drivers/usb/gadget/udc/bdc/bdc.h

> index ac75e25..fcba77e 100644

> --- a/drivers/usb/gadget/udc/bdc/bdc.h

> +++ b/drivers/usb/gadget/udc/bdc/bdc.h

> @@ -1,4 +1,4 @@

> -// SPDX-License-Identifier: GPL-2.0+

> +/* SPDX-License-Identifier: GPL-2.0+ */

>  /*

>   * bdc.h - header for the BRCM BDC USB3.0 device controller

>   *

> diff --git a/drivers/usb/gadget/udc/bdc/bdc_cmd.h b/drivers/usb/gadget/udc/bdc/bdc_cmd.h

> index 29cc988..373e674 100644

> --- a/drivers/usb/gadget/udc/bdc/bdc_cmd.h

> +++ b/drivers/usb/gadget/udc/bdc/bdc_cmd.h

> @@ -1,4 +1,4 @@

> -// SPDX-License-Identifier: GPL-2.0+

> +/* SPDX-License-Identifier: GPL-2.0+ */

>  /*

>   * bdc_cmd.h - header for the BDC debug functions

>   *

> diff --git a/drivers/usb/gadget/udc/bdc/bdc_dbg.h b/drivers/usb/gadget/udc/bdc/bdc_dbg.h

> index 373d5ab..859d588 100644

> --- a/drivers/usb/gadget/udc/bdc/bdc_dbg.h

> +++ b/drivers/usb/gadget/udc/bdc/bdc_dbg.h

> @@ -1,4 +1,4 @@

> -// SPDX-License-Identifier: GPL-2.0+

> +/* SPDX-License-Identifier: GPL-2.0+ */

>  /*

>   * bdc_dbg.h - header for the BDC debug functions

>   *

> diff --git a/drivers/usb/gadget/udc/bdc/bdc_ep.h b/drivers/usb/gadget/udc/bdc/bdc_ep.h

> index a37ff803..5bbd73f 100644

> --- a/drivers/usb/gadget/udc/bdc/bdc_ep.h

> +++ b/drivers/usb/gadget/udc/bdc/bdc_ep.h

> @@ -1,4 +1,4 @@

> -// SPDX-License-Identifier: GPL-2.0+

> +/* SPDX-License-Identifier: GPL-2.0+ */

>  /*

>   * bdc_ep.h - header for the BDC debug functions

>   *
diff mbox series

Patch

diff --git a/drivers/usb/gadget/udc/bdc/bdc.h b/drivers/usb/gadget/udc/bdc/bdc.h
index ac75e25..fcba77e 100644
--- a/drivers/usb/gadget/udc/bdc/bdc.h
+++ b/drivers/usb/gadget/udc/bdc/bdc.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * bdc.h - header for the BRCM BDC USB3.0 device controller
  *
diff --git a/drivers/usb/gadget/udc/bdc/bdc_cmd.h b/drivers/usb/gadget/udc/bdc/bdc_cmd.h
index 29cc988..373e674 100644
--- a/drivers/usb/gadget/udc/bdc/bdc_cmd.h
+++ b/drivers/usb/gadget/udc/bdc/bdc_cmd.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * bdc_cmd.h - header for the BDC debug functions
  *
diff --git a/drivers/usb/gadget/udc/bdc/bdc_dbg.h b/drivers/usb/gadget/udc/bdc/bdc_dbg.h
index 373d5ab..859d588 100644
--- a/drivers/usb/gadget/udc/bdc/bdc_dbg.h
+++ b/drivers/usb/gadget/udc/bdc/bdc_dbg.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * bdc_dbg.h - header for the BDC debug functions
  *
diff --git a/drivers/usb/gadget/udc/bdc/bdc_ep.h b/drivers/usb/gadget/udc/bdc/bdc_ep.h
index a37ff803..5bbd73f 100644
--- a/drivers/usb/gadget/udc/bdc/bdc_ep.h
+++ b/drivers/usb/gadget/udc/bdc/bdc_ep.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * bdc_ep.h - header for the BDC debug functions
  *