]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
USB: dwc2: Use the correct style for SPDX License Identifier
authorNishad Kamdar <nishadkamdar@gmail.com>
Sat, 28 Mar 2020 09:48:32 +0000 (15:18 +0530)
committerFelipe Balbi <balbi@kernel.org>
Tue, 5 May 2020 07:58:50 +0000 (10:58 +0300)
This patch corrects the SPDX License Identifier style in
header files related to DesignWare USB2 DRD Core Support.
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>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/dwc2/core.h
drivers/usb/dwc2/debug.h
drivers/usb/dwc2/hcd.h
drivers/usb/dwc2/hw.h

index 99b0bdfe0012baa7bec0119f76e6e30c7d06372a..668d1ad646a4acc60034be648985fa1fc84eb819 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
 /*
  * core.h - DesignWare HS OTG Controller common declarations
  *
index a8c565b6bc34bbb6c9d91d6f6b092950878c2f5a..47252c56d410501022a4f7fae7d060a5eabe5bc8 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * debug.h - Designware USB2 DRD controller debug header
  *
index 1224fa9df604b4760077b2d063f057d9bbe7b425..ea02ee63ac6d8a9db833ec46c2317eee87378e98 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
 /*
  * hcd.h - DesignWare HS OTG Controller host-mode declarations
  *
index c4027bbcedec49ccb314da05daced62c414eede3..864b76a0b954d720415e71ee9822186401de6d41 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
 /*
  * hw.h - DesignWare HS OTG Controller hardware definitions
  *