Skip to content

Commit

Permalink
USB: gadget: Use the correct style for SPDX License Identifier
Browse files Browse the repository at this point in the history
This patch corrects the SPDX License Identifier style in
header files related to USB peripheral 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.

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
  • Loading branch information
Nishad Kamdar authored and Felipe Balbi committed May 5, 2020
1 parent 0e698df commit 2e75973
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/f_uvc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0+
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* f_uvc.h -- USB Video Class Gadget driver
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/rndis.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* RNDIS Definitions for Remote NDIS
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_audio.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0+
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* u_audio.h -- interface to USB gadget "ALSA sound card" utilities
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_ecm.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* u_ecm.h
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_eem.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* u_eem.h
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_ether.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0+
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* u_ether.h -- interface to USB gadget "ethernet link" utilities
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_ether_configfs.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* u_ether_configfs.h
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_fs.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* u_fs.h
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_gether.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* u_gether.h
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_hid.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* u_hid.h
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_midi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* u_midi.h
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_ncm.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* u_ncm.h
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_phonet.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0+
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* u_phonet.h - interface to Phonet
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_printer.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* u_printer.h
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_rndis.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* u_rndis.h
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_serial.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0+
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* u_serial.h - interface to USB gadget "serial port"/TTY utilities
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_tcm.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* u_tcm.h
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_uac1.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* u_uac1.h - Utility definitions for UAC1 function
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_uac1_legacy.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0+
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* u_uac1.h -- interface to USB gadget "ALSA AUDIO" utilities
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_uac2.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* u_uac2.h
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/u_uvc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* u_uvc.h
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/uvc.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0+
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* uvc_gadget.h -- USB Video Class Gadget driver
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/uvc_configfs.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* uvc_configfs.h
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/uvc_v4l2.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* uvc_v4l2.h -- USB Video Class Gadget driver
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/function/uvc_video.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* SPDX-License-Identifier: GPL-2.0 */
/*
* uvc_video.h -- USB Video Class Gadget driver
*
Expand Down

0 comments on commit 2e75973

Please sign in to comment.