Skip to contentSkip to conversation

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

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

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

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

This patch corrects the SPDX License Identifier style in header files related to Physical Layer USB driver configuration. 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/phy/phy-fsl-usb.h | 2 +-
 drivers/usb/phy/phy-mv-usb.h  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/usb/phy/phy-fsl-usb.h +1 -1
index 43d410f6641b..fbcc28ad9964 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /* Copyright (C) 2007,2008 Freescale Semiconductor, Inc. */
 
 #include <linux/usb/otg-fsm.h>
drivers/usb/phy/phy-mv-usb.h +1 -1
index 96701a1229ad..5d5c0abb0c3a 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (C) 2011 Marvell International Ltd. All rights reserved.
  */
Signature · 1 line
2.17.1