Received: by 10.223.164.202 with SMTP id h10csp859026wrb; Fri, 17 Nov 2017 09:45:37 -0800 (PST) X-Google-Smtp-Source: AGs4zMZy8VxEpdFrno0M7eUnq7mU7mm81hEM3lkF4iOeHe4QRtRRrKL0XVnqbUGicH2WyaAVt3+2 X-Received: by 10.101.73.203 with SMTP id t11mr5822044pgs.446.1510940737411; Fri, 17 Nov 2017 09:45:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510940737; cv=none; d=google.com; s=arc-20160816; b=HSMlOIh2B6mrBvFtPhcHMs3LTz5sMt9sdhZpUUHzf2mIDiEaKKmK9TlwdEHSWmWhJ7 gf89Y7WyoEFk0X6kkWQubSewW9zX3S0Onpz/9YRXo37fXGksTGFYxiVwG+FKqq5dynaY kfB8sYDW8R2i0je5xJLUOxdAPAVIgWl6k/4jo784IcxVNSjkzbPLqerpoGqqzNPiQy3j QdwsP3MWiRow4uy5huUbCR58YDgasaXV86bUyb8bgAuwTM2W1PlGs819sfjJ5J9Zy4XA Tn9s6U3fmpUvlz9cMtUGil70NuHveL4QhFkl5wg8xefcch98x+Om6Oc3/vj/+xAZKLSq dthQ== 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=XMgzUhGIuIbWA3d0hGDfl9ACdh2SZaxC7ggyq67Dy2s=; b=pHv7Z0bNrvAbZiU1omTFUweqCyBOmfEl1wXXD6/ORzEVhEJe4DkO19LhisC0hEZflC GItUW8mPZnCkkpMlo3kpeGDtWKz/oHAmPe4KTtc4sCBCBE2E65XvELVg0Vfb/iX07xJE QMoGsRtrsnuFa7gVxLD3HRVsuiM/GuvQD0DPis51iLBxv3fGtsDVoLTuFUuJA7fguTDW Wo7SEebr6FT2EvZoFkvbiNlh/4rAGvwxRaYnWTQ28XK5hhHviJVJwX7L9GJ1PDhEkUcC /JGBLsU87A43QerVlP4uhoTFDwzJKSvVj6tkrcavkbYLGgxdtwSExBFPDPApM/0P/UUs sFig== 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.45.23; Fri, 17 Nov 2017 09:45:37 -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 S1753138AbdKQKWZ (ORCPT + 91 others); Fri, 17 Nov 2017 05:22:25 -0500 Received: from osg.samsung.com ([64.30.133.232]:61843 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752924AbdKQKVq (ORCPT ); Fri, 17 Nov 2017 05:21:46 -0500 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id D44182ADE2; Fri, 17 Nov 2017 02:21:45 -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 4DB6ndRPQe6U; Fri, 17 Nov 2017 02:21:40 -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 D54E62ADA2; 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-0006jQ-5N; 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 , Sean Young , Hans Verkuil , Andi Shyti , =?UTF-8?q?David=20H=C3=A4rdeman?= , Bhumika Goyal , Sakari Ailus , Arvind Yadav , Laurent Pinchart , Julia Lawall , Christophe JAILLET , Santosh Kumar Singh Subject: [PATCH 6/6] media: usb: add SPDX identifiers to some code I wrote Date: Fri, 17 Nov 2017 08:21:33 -0200 Message-Id: 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 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/usb/au0828/au0828-input.c | 23 +++++++---------------- drivers/media/usb/cx231xx/cx231xx-input.c | 10 +--------- drivers/media/usb/tm6000/tm6000-alsa.c | 7 ++----- drivers/media/usb/tm6000/tm6000-cards.c | 12 ++---------- drivers/media/usb/tm6000/tm6000-core.c | 10 +--------- drivers/media/usb/tm6000/tm6000-i2c.c | 10 +--------- drivers/media/usb/tm6000/tm6000-regs.h | 10 +--------- drivers/media/usb/tm6000/tm6000-stds.c | 10 +--------- drivers/media/usb/tm6000/tm6000-usb-isoc.h | 10 +--------- drivers/media/usb/tm6000/tm6000-video.c | 10 +--------- drivers/media/usb/tm6000/tm6000.h | 10 +--------- 11 files changed, 19 insertions(+), 103 deletions(-) diff --git a/drivers/media/usb/au0828/au0828-input.c b/drivers/media/usb/au0828/au0828-input.c index 7996eb83a54e..f254657dd844 100644 --- a/drivers/media/usb/au0828/au0828-input.c +++ b/drivers/media/usb/au0828/au0828-input.c @@ -1,20 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0+ /* - handle au0828 IR remotes via linux kernel input layer. - - Copyright (C) 2014 Mauro Carvalho Chehab - Copyright (c) 2014 Samsung Electronics Co., Ltd. - - Based on em28xx-input.c. - - 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. + * handle au0828 IR remotes via linux kernel input layer. + * + * Copyright (C) 2014 Mauro Carvalho Chehab + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Based on em28xx-input.c. */ #include "au0828.h" diff --git a/drivers/media/usb/cx231xx/cx231xx-input.c b/drivers/media/usb/cx231xx/cx231xx-input.c index 02ebeb16055f..62bbd52bad95 100644 --- a/drivers/media/usb/cx231xx/cx231xx-input.c +++ b/drivers/media/usb/cx231xx/cx231xx-input.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * cx231xx IR glue driver * @@ -7,15 +8,6 @@ * however, a few designs are using an external I2C chip for IR, instead * of using the one provided by the chip. * This driver provides support for those extra devices - * - * 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. */ #include "cx231xx.h" diff --git a/drivers/media/usb/tm6000/tm6000-alsa.c b/drivers/media/usb/tm6000/tm6000-alsa.c index 3717a6844ea8..3a76d1742f71 100644 --- a/drivers/media/usb/tm6000/tm6000-alsa.c +++ b/drivers/media/usb/tm6000/tm6000-alsa.c @@ -1,13 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * * Support for audio capture for tm5600/6000/6010 * (c) 2007-2008 Mauro Carvalho Chehab * * Based on cx88-alsa.c - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include @@ -57,7 +54,7 @@ MODULE_PARM_DESC(index, "Index value for tm6000x capture interface(s)."); MODULE_DESCRIPTION("ALSA driver module for tm5600/tm6000/tm6010 based TV cards"); MODULE_AUTHOR("Mauro Carvalho Chehab"); -MODULE_LICENSE("GPL"); +MODULE_LICENSE("GPL v2"); MODULE_SUPPORTED_DEVICE("{{Trident,tm5600},{{Trident,tm6000},{{Trident,tm6010}"); static unsigned int debug; module_param(debug, int, 0644); diff --git a/drivers/media/usb/tm6000/tm6000-cards.c b/drivers/media/usb/tm6000/tm6000-cards.c index 2537643a1808..27496f085c72 100644 --- a/drivers/media/usb/tm6000/tm6000-cards.c +++ b/drivers/media/usb/tm6000/tm6000-cards.c @@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * tm6000-cards.c - driver for TM5600/TM6000/TM6010 USB video capture devices * * Copyright (C) 2006-2007 Mauro Carvalho Chehab - * - * 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. */ #include @@ -1406,4 +1398,4 @@ module_usb_driver(tm6000_usb_driver); MODULE_DESCRIPTION("Trident TVMaster TM5600/TM6000/TM6010 USB2 adapter"); MODULE_AUTHOR("Mauro Carvalho Chehab"); -MODULE_LICENSE("GPL"); +MODULE_LICENSE("GPL v2"); diff --git a/drivers/media/usb/tm6000/tm6000-core.c b/drivers/media/usb/tm6000/tm6000-core.c index 8c265bd80faa..fc7129e49839 100644 --- a/drivers/media/usb/tm6000/tm6000-core.c +++ b/drivers/media/usb/tm6000/tm6000-core.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * tm6000-core.c - driver for TM5600/TM6000/TM6010 USB video capture devices * @@ -5,15 +6,6 @@ * * Copyright (C) 2007 Michel Ludwig * - DVB-T support - * - * 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. */ #include diff --git a/drivers/media/usb/tm6000/tm6000-i2c.c b/drivers/media/usb/tm6000/tm6000-i2c.c index cbcc1472f1c7..5959adb56783 100644 --- a/drivers/media/usb/tm6000/tm6000-i2c.c +++ b/drivers/media/usb/tm6000/tm6000-i2c.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * tm6000-i2c.c - driver for TM5600/TM6000/TM6010 USB video capture devices * @@ -5,15 +6,6 @@ * * Copyright (C) 2007 Michel Ludwig * - 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. */ #include diff --git a/drivers/media/usb/tm6000/tm6000-regs.h b/drivers/media/usb/tm6000/tm6000-regs.h index ab3fb74c476c..b88adecb7717 100644 --- a/drivers/media/usb/tm6000/tm6000-regs.h +++ b/drivers/media/usb/tm6000/tm6000-regs.h @@ -1,16 +1,8 @@ +// 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 - * - * 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. */ /* diff --git a/drivers/media/usb/tm6000/tm6000-stds.c b/drivers/media/usb/tm6000/tm6000-stds.c index aa43810d17f9..47cf58b3b83b 100644 --- a/drivers/media/usb/tm6000/tm6000-stds.c +++ b/drivers/media/usb/tm6000/tm6000-stds.c @@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * tm6000-stds.c - driver for TM5600/TM6000/TM6010 USB video capture devices * * Copyright (C) 2007 Mauro Carvalho Chehab - * - * 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. */ #include diff --git a/drivers/media/usb/tm6000/tm6000-usb-isoc.h b/drivers/media/usb/tm6000/tm6000-usb-isoc.h index 6a13a27c55d7..346b70745f75 100644 --- a/drivers/media/usb/tm6000/tm6000-usb-isoc.h +++ b/drivers/media/usb/tm6000/tm6000-usb-isoc.h @@ -1,16 +1,8 @@ +// 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 - * - * 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. */ #include diff --git a/drivers/media/usb/tm6000/tm6000-video.c b/drivers/media/usb/tm6000/tm6000-video.c index ec8c4d2534dc..d7fab36cd24b 100644 --- a/drivers/media/usb/tm6000/tm6000-video.c +++ b/drivers/media/usb/tm6000/tm6000-video.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * tm6000-video.c - driver for TM5600/TM6000/TM6010 USB video capture devices * @@ -5,15 +6,6 @@ * * Copyright (C) 2007 Michel Ludwig * - Fixed module load/unload - * - * 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. */ #include diff --git a/drivers/media/usb/tm6000/tm6000.h b/drivers/media/usb/tm6000/tm6000.h index 7ec478d75f55..47a7b7edf22b 100644 --- a/drivers/media/usb/tm6000/tm6000.h +++ b/drivers/media/usb/tm6000/tm6000.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * tm6000.h - driver for TM5600/TM6000/TM6010 USB video capture devices * @@ -5,15 +6,6 @@ * * Copyright (C) 2007 Michel Ludwig * - DVB-T support - * - * 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. */ #include -- 2.14.3 From 1584466722583604267@xxx Sun Nov 19 04:20:18 +0000 2017 X-GM-THRID: 1584466722583604267 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread