Skip to contentSkip to conversation

media: usb: tm6000: Use the correct style for SPDX License Identifier

PATCH New Nishad Kamdar 1 participant 1 message Sep 16, 2019 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: usb: tm6000: Use the correct style for SPDX License Identifier

This patch corrects the SPDX License Identifier style in header files for TV Master Media USB Adapter 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/media/usb/tm6000/tm6000-regs.h     | 2 +-
 drivers/media/usb/tm6000/tm6000-usb-isoc.h | 2 +-
 drivers/media/usb/tm6000/tm6000.h          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/media/usb/tm6000/tm6000-regs.h +1 -1
index d10424673db9..6a181f2e7ef2 100644
@@ -1,5 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
- * SPDX-License-Identifier: GPL-2.0
  * tm6000-regs.h - driver for TM5600/TM6000/TM6010 USB video capture devices
  *
  * Copyright (c) 2006-2007 Mauro Carvalho Chehab <[email protected]>
drivers/media/usb/tm6000/tm6000-usb-isoc.h +1 -1
index b275dbce3a1b..e3c6933f854d 100644
@@ -1,5 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
- * SPDX-License-Identifier: GPL-2.0
  * tm6000-buf.c - driver for TM5600/TM6000/TM6010 USB video capture devices
  *
  * Copyright (c) 2006-2007 Mauro Carvalho Chehab <[email protected]>
drivers/media/usb/tm6000/tm6000.h +1 -1
index bf396544da9a..c08c95312739 100644
@@ -1,5 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
- * SPDX-License-Identifier: GPL-2.0
  * tm6000.h - driver for TM5600/TM6000/TM6010 USB video capture devices
  *
  * Copyright (c) 2006-2007 Mauro Carvalho Chehab <[email protected]>
Signature · 1 line
2.17.1