Received: by 10.223.164.202 with SMTP id h10csp858405wrb; Fri, 17 Nov 2017 09:44:56 -0800 (PST) X-Google-Smtp-Source: AGs4zMbfP8KtDFkQO2N/izm0QOkrX2Q3NV/lfY4UxeI9icOdNT/h8XzESfHnpJGw3uf/NXvHjw2t X-Received: by 10.84.194.3 with SMTP id g3mr6032559pld.374.1510940696339; Fri, 17 Nov 2017 09:44:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510940696; cv=none; d=google.com; s=arc-20160816; b=ukZOV6yxax7APqPjlDsrBJuqK5jbXy1L4eEUSjwB2esPCLHiRQiSMWDXnYoZiigyAJ IiN95PnK1+x3WWhc+VcuHgPo+zcBUhRQRiaLzUvoiZVREhUt8Ans74ecrkI+xl02l3QQ utbz8Vpnkm53uDXXpygYnY/CfHAS/xSZJJgfJ3PzdjvLZGEtE/VE0jCjY/aiAxLXaXob 7cjD5mBqKwy2FB9oK/p7gYw+7kLj+Emk9Sm5f9HuyCJMhxdSjZRM67aWaJYRElx22nef UVbWhpywkoqcI2Sl3UeqqInLYXIykZDrvYJMVb2kDmLRujBzCYcVaRJtyoTisn5eSbLj mm/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ADHDAn1mKQUTOlZIg9bQHI7/rcxWXlVWMKkUbzY/twM=; b=z1veC1A//m4IOa9alctEz5gEFdpft+1IcCmFAee0Z6va6qBiqb9q4NXbO3RfCBtZkb t2K7UI0ob+391NteCIJf4efEXtTuunGKXYCZ9i40cWwbnyOpCLCKVFvnwhHfk8mfR+L/ nEaWrLtWb3EC3nvawz8vbrHqod7czuioH6OPsc/dpU7jwN54y6V2JSWk5l9kiLQh9z7u h14iNhV9B9Bi8OcxZJVPztjUAeqMSoX6gu5WQ8mjpnjblmpf27Sso8W9/eNlpETBpCD7 E96Z+O2vQHkStUZva2CqxrspxpFeJUUq8f/PSKUpxeqtwcfMGUqfQXtz7BZr7Hlql2KA I5Rg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h71si3006565pgc.321.2017.11.17.09.44.42; Fri, 17 Nov 2017 09:44:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752987AbdKQKVy (ORCPT + 91 others); Fri, 17 Nov 2017 05:21:54 -0500 Received: from osg.samsung.com ([64.30.133.232]:63968 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752881AbdKQKVk (ORCPT ); Fri, 17 Nov 2017 05:21:40 -0500 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id 0AA8D2ADBC; Fri, 17 Nov 2017 02:21:40 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from osg.samsung.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L2eKVq0Yikmg; Fri, 17 Nov 2017 02:21:38 -0800 (PST) Received: from smtp.s-opensource.com (177.17.214.168.dynamic.adsl.gvt.net.br [177.17.214.168]) by osg.samsung.com (Postfix) with ESMTPSA id CA5402ADA0; Fri, 17 Nov 2017 02:21:37 -0800 (PST) Received: from mchehab by smtp.s-opensource.com with local (Exim 4.89) (envelope-from ) id 1eFdmB-0006jM-4p; Fri, 17 Nov 2017 08:21:35 -0200 From: Mauro Carvalho Chehab To: Linux Media Mailing List , Linux Kernel Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , Max Kellermann Subject: [PATCH 5/6] media: tuners: add SPDX identifiers to the code I wrote Date: Fri, 17 Nov 2017 08:21:32 -0200 Message-Id: <6ac4ea66b5c3edb1d374b84ecb1270e2f1b0687d.1510913595.git.mchehab@s-opensource.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/media/tuners/r820t.c | 14 ++------------ drivers/media/tuners/tea5761.c | 5 ++--- drivers/media/tuners/tea5767.c | 4 ++-- drivers/media/tuners/tuner-xc2028-types.h | 2 +- drivers/media/tuners/tuner-xc2028.c | 5 ++--- drivers/media/tuners/tuner-xc2028.h | 2 +- 6 files changed, 10 insertions(+), 22 deletions(-) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index ba80376a3b86..d80297adbf68 100644 --- a/drivers/media/tuners/r820t.c +++ b/drivers/media/tuners/r820t.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Rafael Micro R820T driver * @@ -19,17 +20,6 @@ * improve reception. This was not implemented here yet. * * RF Gain set/get is not implemented. - * - * 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; either version 2 of the License, or - * (at your option) any later version. - * - * 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. - * */ #include @@ -2388,4 +2378,4 @@ EXPORT_SYMBOL_GPL(r820t_attach); MODULE_DESCRIPTION("Rafael Micro r820t silicon tuner driver"); MODULE_AUTHOR("Mauro Carvalho Chehab"); -MODULE_LICENSE("GPL"); +MODULE_LICENSE("GPL v2"); diff --git a/drivers/media/tuners/tea5761.c b/drivers/media/tuners/tea5761.c index a9b1bb134409..455b7dbad6ca 100644 --- a/drivers/media/tuners/tea5761.c +++ b/drivers/media/tuners/tea5761.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * 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 - * */ #include @@ -341,4 +340,4 @@ EXPORT_SYMBOL_GPL(tea5761_autodetection); MODULE_DESCRIPTION("Philips TEA5761 FM tuner driver"); MODULE_AUTHOR("Mauro Carvalho Chehab "); -MODULE_LICENSE("GPL"); +MODULE_LICENSE("GPL v2"); diff --git a/drivers/media/tuners/tea5767.c b/drivers/media/tuners/tea5767.c index 525b7ab90c80..d89764ad9209 100644 --- a/drivers/media/tuners/tea5767.c +++ b/drivers/media/tuners/tea5767.c @@ -1,10 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * For Philips TEA5767 FM Chip used on some TV Cards like Prolink Pixelview * I2C address is allways 0xC0. * * * Copyright (c) 2005 Mauro Carvalho Chehab (mchehab@infradead.org) - * This code is placed under the terms of the GNU General Public License * * tea5767 autodetection thanks to Torsten Seeboth and Atsushi Nakagawa * from their contributions on DScaler. @@ -473,4 +473,4 @@ EXPORT_SYMBOL_GPL(tea5767_autodetection); MODULE_DESCRIPTION("Philips TEA5767 FM tuner driver"); MODULE_AUTHOR("Mauro Carvalho Chehab "); -MODULE_LICENSE("GPL"); +MODULE_LICENSE("GPL v2"); diff --git a/drivers/media/tuners/tuner-xc2028-types.h b/drivers/media/tuners/tuner-xc2028-types.h index 7e4798783db7..43949ff69e67 100644 --- a/drivers/media/tuners/tuner-xc2028-types.h +++ b/drivers/media/tuners/tuner-xc2028-types.h @@ -1,10 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* tuner-xc2028_types * * This file includes internal tipes to be used inside tuner-xc2028. * Shouldn't be included outside tuner-xc2028 * * Copyright (c) 2007-2008 Mauro Carvalho Chehab (mchehab@infradead.org) - * This code is placed under the terms of the GNU General Public License v2 */ /* xc3028 firmware types */ diff --git a/drivers/media/tuners/tuner-xc2028.c b/drivers/media/tuners/tuner-xc2028.c index b5b62b08159e..d2870fba4591 100644 --- a/drivers/media/tuners/tuner-xc2028.c +++ b/drivers/media/tuners/tuner-xc2028.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* tuner-xc2028 * * Copyright (c) 2007-2008 Mauro Carvalho Chehab (mchehab@infradead.org) * * Copyright (c) 2007 Michel Ludwig (michel.ludwig@gmail.com) * - frontend interface - * - * This code is placed under the terms of the GNU General Public License v2 */ #include @@ -1521,6 +1520,6 @@ EXPORT_SYMBOL(xc2028_attach); MODULE_DESCRIPTION("Xceive xc2028/xc3028 tuner driver"); MODULE_AUTHOR("Michel Ludwig "); MODULE_AUTHOR("Mauro Carvalho Chehab "); -MODULE_LICENSE("GPL"); +MODULE_LICENSE("GPL v2"); MODULE_FIRMWARE(XC2028_DEFAULT_FIRMWARE); MODULE_FIRMWARE(XC3028L_DEFAULT_FIRMWARE); diff --git a/drivers/media/tuners/tuner-xc2028.h b/drivers/media/tuners/tuner-xc2028.h index 98e4effca896..b3c25dff96d8 100644 --- a/drivers/media/tuners/tuner-xc2028.h +++ b/drivers/media/tuners/tuner-xc2028.h @@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* tuner-xc2028 * * Copyright (c) 2007-2008 Mauro Carvalho Chehab (mchehab@infradead.org) - * This code is placed under the terms of the GNU General Public License v2 */ #ifndef __TUNER_XC2028_H__ -- 2.14.3 From 1584619326491447194@xxx Mon Nov 20 20:45:52 +0000 2017 X-GM-THRID: 1584343116825276937 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread