Skip to contentSkip to conversation

usb: renesas_usbhs: Use the correct style for SPDX License Identifier

PATCH In review Nishad Kamdar 2 participants 2 messages Apr 19, 2020 – Apr 20, 2020

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

PATCH 1/1 usb: renesas_usbhs: Use the correct style for SPDX License Identifier

This patch corrects the SPDX License Identifier style in header files related to Renesas USBHS Controller Drivers. 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.

---
 drivers/usb/renesas_usbhs/common.h | 2 +-
 drivers/usb/renesas_usbhs/fifo.h   | 2 +-
 drivers/usb/renesas_usbhs/mod.h    | 2 +-
 drivers/usb/renesas_usbhs/pipe.h   | 2 +-
 drivers/usb/renesas_usbhs/rcar2.h  | 2 +-
 drivers/usb/renesas_usbhs/rcar3.h  | 2 +-
 drivers/usb/renesas_usbhs/rza.h    | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
drivers/usb/renesas_usbhs/common.h +1 -1
index ef1735d014da..eb34d762a63d 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-1.0+
+/* SPDX-License-Identifier: GPL-1.0+ */
 /*
  * Renesas USB driver
  *
drivers/usb/renesas_usbhs/fifo.h +1 -1
index c3d3cc35cee0..7d3700bf41d9 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-1.0+
+/* SPDX-License-Identifier: GPL-1.0+ */
 /*
  * Renesas USB driver
  *
drivers/usb/renesas_usbhs/mod.h +1 -1
index 65dc19ca528e..56b7106d254d 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-1.0+
+/* SPDX-License-Identifier: GPL-1.0+ */
 /*
  * Renesas USB driver
  *
drivers/usb/renesas_usbhs/pipe.h +1 -1
index 3b130529408b..a4ae9f97d9cd 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-1.0+
+/* SPDX-License-Identifier: GPL-1.0+ */
 /*
  * Renesas USB driver
  *
drivers/usb/renesas_usbhs/rcar2.h +1 -1
index 7d88732c5bff..046d07edb36f 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 #include "common.h"
 
 extern const struct renesas_usbhs_platform_info usbhs_rcar_gen2_plat_info;
drivers/usb/renesas_usbhs/rcar3.h +1 -1
index c7c5ec1e3af2..d13db30bd21b 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 #include "common.h"
 
 extern const struct renesas_usbhs_platform_info usbhs_rcar_gen3_plat_info;
drivers/usb/renesas_usbhs/rza.h +1 -1
index 1ca42a6fd480..a29b75fef057 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 #include "common.h"
 
 extern const struct renesas_usbhs_platform_info usbhs_rza1_plat_info;
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Nishad,

Quoted 8 lines

From: Nishad Kamdar, Sent: Sunday, April 19, 2020 9:57 PM

This patch corrects the SPDX License Identifier style in header files related to Renesas USBHS Controller Drivers. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used).

Quoted 5 lines

Changes made by using a script provided by Joe Perches here:
https://lkml.org/lkml/2019/2/7/46.

Thank you for the patch!

Best regards,
Yoshihiro Shimoda