summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/tm6000/tm6000-i2c.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-01 08:47:10 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-11 07:41:11 -0500
commit75d1e3ef9f98145acff7e558dfe2a175f1e4db9e (patch)
treeec9a8f3e02744ac8cd7c7554c5241a831eee2694 /drivers/media/usb/tm6000/tm6000-i2c.c
parent0c20e8cac2bf7d0b215bff887b7cc805e9273edd (diff)
downloadlinux-75d1e3ef9f98145acff7e558dfe2a175f1e4db9e.tar.gz
linux-75d1e3ef9f98145acff7e558dfe2a175f1e4db9e.tar.bz2
linux-75d1e3ef9f98145acff7e558dfe2a175f1e4db9e.zip
media: usb: add SPDX identifiers to some code I wrote
As we're now using SPDX identifiers, on several media drivers I wrote, add the proper SPDX, identifying the license I meant. As we're now using the short license, it doesn't make sense to keep the original license text. Also, fix MODULE_LICENSE to properly identify GPL v2. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/tm6000/tm6000-i2c.c')
-rw-r--r--drivers/media/usb/tm6000/tm6000-i2c.c24
1 files changed, 7 insertions, 17 deletions
diff --git a/drivers/media/usb/tm6000/tm6000-i2c.c b/drivers/media/usb/tm6000/tm6000-i2c.c
index cbcc1472f1c7..c9a62bbff27a 100644
--- a/drivers/media/usb/tm6000/tm6000-i2c.c
+++ b/drivers/media/usb/tm6000/tm6000-i2c.c
@@ -1,20 +1,10 @@
-/*
- * tm6000-i2c.c - driver for TM5600/TM6000/TM6010 USB video capture devices
- *
- * Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
- *
- * Copyright (C) 2007 Michel Ludwig <michel.ludwig@gmail.com>
- * - Fix SMBus Read Byte command
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation version 2
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+// tm6000-i2c.c - driver for TM5600/TM6000/TM6010 USB video capture devices
+//
+// Copyright (c) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
+//
+// Copyright (c) 2007 Michel Ludwig <michel.ludwig@gmail.com>
+// - Fix SMBus Read Byte command
#include <linux/module.h>
#include <linux/kernel.h>