summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/tea5761.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-01 08:47:09 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-11 07:39:42 -0500
commit0c20e8cac2bf7d0b215bff887b7cc805e9273edd (patch)
tree593377cd1d63a8109669d4e0300d3551cc2be793 /drivers/media/tuners/tea5761.c
parent20835280ce0495f933bc8a69f2faac31f23daa2f (diff)
downloadlinux-stable-0c20e8cac2bf7d0b215bff887b7cc805e9273edd.tar.gz
linux-stable-0c20e8cac2bf7d0b215bff887b7cc805e9273edd.tar.bz2
linux-stable-0c20e8cac2bf7d0b215bff887b7cc805e9273edd.zip
media: tuners: add SPDX identifiers to the code I wrote
As we're now using SPDX identifiers, on the 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> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/tuners/tea5761.c')
-rw-r--r--drivers/media/tuners/tea5761.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/drivers/media/tuners/tea5761.c b/drivers/media/tuners/tea5761.c
index a9b1bb134409..88b3e80c38ad 100644
--- a/drivers/media/tuners/tea5761.c
+++ b/drivers/media/tuners/tea5761.c
@@ -1,11 +1,8 @@
-/*
- * For Philips TEA5761 FM Chip
- * I2C address is allways 0x20 (0x10 at 7-bit mode).
- *
- * Copyright (c) 2005-2007 Mauro Carvalho Chehab (mchehab@infradead.org)
- * This code is placed under the terms of the GNUv2 General Public License
- *
- */
+// SPDX-License-Identifier: GPL-2.0
+// For Philips TEA5761 FM Chip
+// I2C address is always 0x20 (0x10 at 7-bit mode).
+//
+// Copyright (c) 2005-2007 Mauro Carvalho Chehab (mchehab@infradead.org)
#include <linux/i2c.h>
#include <linux/slab.h>
@@ -341,4 +338,4 @@ EXPORT_SYMBOL_GPL(tea5761_autodetection);
MODULE_DESCRIPTION("Philips TEA5761 FM tuner driver");
MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@infradead.org>");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");