[PATCH] media: fix SPDX comment on some header files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The agreed format is to use /* */ comments inside header
files. Unfortunately, I ended by using // on a few ones.

Reported-by: Andi Shyti <andi.shyti@xxxxxxxxxxx>
Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx>
---
 drivers/media/rc/rc-core-priv.h            | 10 ++++++----
 drivers/media/usb/tm6000/tm6000-regs.h     | 10 ++++++----
 drivers/media/usb/tm6000/tm6000-usb-isoc.h | 10 ++++++----
 drivers/media/usb/tm6000/tm6000.h          | 16 +++++++++-------
 4 files changed, 27 insertions(+), 19 deletions(-)

diff --git a/drivers/media/rc/rc-core-priv.h b/drivers/media/rc/rc-core-priv.h
index 915434855a63..3c3d2620f0e8 100644
--- a/drivers/media/rc/rc-core-priv.h
+++ b/drivers/media/rc/rc-core-priv.h
@@ -1,7 +1,9 @@
-// SPDX-License-Identifier: GPL-2.0
-// Remote Controller core raw events header
-//
-// Copyright (C) 2010 by Mauro Carvalho Chehab
+/*
+ * SPDX-License-Identifier: GPL-2.0
+ * Remote Controller core raw events header
+ *
+ * Copyright (C) 2010 by Mauro Carvalho Chehab
+ */
 
 #ifndef _RC_CORE_PRIV
 #define _RC_CORE_PRIV
diff --git a/drivers/media/usb/tm6000/tm6000-regs.h b/drivers/media/usb/tm6000/tm6000-regs.h
index 6723e373fdc6..21587fcf11e3 100644
--- a/drivers/media/usb/tm6000/tm6000-regs.h
+++ b/drivers/media/usb/tm6000/tm6000-regs.h
@@ -1,7 +1,9 @@
-// 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 <mchehab@xxxxxxxxxxxxx>
+/*
+ * 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 <mchehab@xxxxxxxxxxxxx>
+ */
 
 /*
  * Define TV Master TM5600/TM6000/TM6010 Request codes
diff --git a/drivers/media/usb/tm6000/tm6000-usb-isoc.h b/drivers/media/usb/tm6000/tm6000-usb-isoc.h
index e69f5cf8fe9f..5c615b0a7a46 100644
--- a/drivers/media/usb/tm6000/tm6000-usb-isoc.h
+++ b/drivers/media/usb/tm6000/tm6000-usb-isoc.h
@@ -1,7 +1,9 @@
-// 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 <mchehab@xxxxxxxxxxxxx>
+/*
+ * 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 <mchehab@xxxxxxxxxxxxx>
+ */
 
 #include <linux/videodev2.h>
 
diff --git a/drivers/media/usb/tm6000/tm6000.h b/drivers/media/usb/tm6000/tm6000.h
index d53c8e1068e8..16d3c81e4eb9 100644
--- a/drivers/media/usb/tm6000/tm6000.h
+++ b/drivers/media/usb/tm6000/tm6000.h
@@ -1,10 +1,12 @@
-// SPDX-License-Identifier: GPL-2.0
-// tm6000.h - driver for TM5600/TM6000/TM6010 USB video capture devices
-//
-// Copyright (c) 2006-2007 Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
-//
-// Copyright (c) 2007 Michel Ludwig <michel.ludwig@xxxxxxxxx>
-//	- DVB-T support
+/*
+ * SPDX-License-Identifier: GPL-2.0
+ * tm6000.h - driver for TM5600/TM6000/TM6010 USB video capture devices
+ *
+ * Copyright (c) 2006-2007 Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
+ *
+ * Copyright (c) 2007 Michel Ludwig <michel.ludwig@xxxxxxxxx>
+ *	- DVB-T support
+ */
 
 #include <linux/videodev2.h>
 #include <media/v4l2-common.h>
-- 
2.14.3




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux