USB: core: Use the correct style for SPDX License Identifier
PATCH 1/1 USB: core: Use the correct style for SPDX License Identifier
This patch corrects the SPDX License Identifier style in header files related to USB Core.
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 <[email protected]>
Signed-off-by Nishad Kamdar <[email protected]>
--- drivers/usb/core/hub.h | 2 +- drivers/usb/core/otg_whitelist.h | 2 +- drivers/usb/core/usb.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/usb/core/hub.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * usb hub driver head file *
drivers/usb/core/otg_whitelist.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * drivers/usb/core/otg_whitelist.h *
drivers/usb/core/usb.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Released under the GPLv2 only. */
Signature · 1 line
2.17.1