Skip to contentSkip to conversation

USB: typec: Use the correct style for SPDX License Identifier

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

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

PATCH 1/1 USB: typec: Use the correct style for SPDX License Identifier

This patch corrects the SPDX License Identifier style in header file related to USB Type-C 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.

---
 drivers/usb/typec/tcpm/fusb302_reg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/typec/tcpm/fusb302_reg.h +1 -1
index 00b39d365478..edc0e4b0f1e6 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright 2016-2017 Google, Inc
  *
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Nishad Kamdar

This patch corrects the SPDX License Identifier style in header file related to USB Type-C 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.

Quoted 15 lines
---
 drivers/usb/typec/tcpm/fusb302_reg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/typec/tcpm/fusb302_reg.h +1 -1
index 00b39d365478..edc0e4b0f1e6 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright 2016-2017 Google, Inc
  *
maintainer
#2 lore raw
In reply to Nishad Kamdar
Quoted 11 lines · Nishad Kamdar

This patch corrects the SPDX License Identifier style in header file related to USB Type-C 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.

Reviewed-by Heikki Krogerus <[email protected]>

Quoted 16 lines
---
 drivers/usb/typec/tcpm/fusb302_reg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/typec/tcpm/fusb302_reg.h +1 -1
index 00b39d365478..edc0e4b0f1e6 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright 2016-2017 Google, Inc
  *
Signature · 1 line
2.17.1

thanks,

Signature · 1 line
heikki