Skip to contentSkip to conversation

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

PATCH New Nishad Kamdar 1 participant 1 message Apr 4, 2020

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

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

This patch corrects the SPDX License Identifier style in header files related to USB Miscellaneous 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/misc/sisusbvga/sisusb.h        | 2 +-
 drivers/usb/misc/sisusbvga/sisusb_init.h   | 2 +-
 drivers/usb/misc/sisusbvga/sisusb_struct.h | 2 +-
 drivers/usb/misc/usb_u132.h                | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
drivers/usb/misc/sisusbvga/sisusb.h +1 -1
index 8a5e6bb07d05..c0fb9e1c5361 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
+/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
 /*
  * sisusb - usb kernel driver for Net2280/SiS315 based USB2VGA dongles
  *
drivers/usb/misc/sisusbvga/sisusb_init.h +1 -1
index 1782c759c4ad..24c2e71d06e7 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
 /* $XFree86$ */
 /* $XdotOrg$ */
 /*
drivers/usb/misc/sisusbvga/sisusb_struct.h +1 -1
index 706d77090e00..3df64d2a9d43 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
 /*
  * General structure definitions for universal mode switching modules
  *
drivers/usb/misc/usb_u132.h +1 -1
index 4bf77736914f..1584efbbd704 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
 * Common Header File for the Elan Digital Systems U132 adapter
 * this file should be included by both the "ftdi-u132" and
Signature · 1 line
2.17.1