2021-09-16 02:01:25

by Cai,Huoqing

[permalink] [raw]
Subject: [PATCH v2] media: b2c2: flexcop: Convert to SPDX identifier

use SPDX-License-Identifier instead of a verbose license text

Signed-off-by: Cai Huoqing <[email protected]>
---
v1->v2: Change license from GPL-2.0+ to LGPL-2.1-or-later

drivers/media/common/b2c2/flexcop.c | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/drivers/media/common/b2c2/flexcop.c b/drivers/media/common/b2c2/flexcop.c
index cbaa61f10d5f..2eaff1316952 100644
--- a/drivers/media/common/b2c2/flexcop.c
+++ b/drivers/media/common/b2c2/flexcop.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
* Linux driver for digital TV devices equipped with B2C2 FlexcopII(b)/III
* flexcop.c - main module part
@@ -15,16 +16,6 @@
* Uwe Bugla, uwe.bugla at gmx.de (doing tests, restyling code, writing docu)
* Niklas Peinecke, peinecke at gdv.uni-hannover.de (hardware pid/mac
* filtering)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1
- * 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 "flexcop.h"
--
2.25.1


2021-09-16 02:09:17

by Cai,Huoqing

[permalink] [raw]
Subject: RE: [PATCH v2] media: b2c2: flexcop: Convert to SPDX identifier

Hello,
+Cc Sean Young <[email protected]>

> -----Original Message-----
> From: Cai,Huoqing <[email protected]>
> Sent: 2021??9??16?? 10:00
> To: Cai,Huoqing
> Cc: Mauro Carvalho Chehab; [email protected]; linux-
> [email protected]
> Subject: [PATCH v2] media: b2c2: flexcop: Convert to SPDX identifier
>
> use SPDX-License-Identifier instead of a verbose license text
>
> Signed-off-by: Cai Huoqing <[email protected]>
> ---
> v1->v2: Change license from GPL-2.0+ to LGPL-2.1-or-later
>
> drivers/media/common/b2c2/flexcop.c | 11 +----------
> 1 file changed, 1 insertion(+), 10 deletions(-)
>
> diff --git a/drivers/media/common/b2c2/flexcop.c
> b/drivers/media/common/b2c2/flexcop.c
> index cbaa61f10d5f..2eaff1316952 100644
> --- a/drivers/media/common/b2c2/flexcop.c
> +++ b/drivers/media/common/b2c2/flexcop.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: LGPL-2.1-or-later
> /*
> * Linux driver for digital TV devices equipped with B2C2 FlexcopII(b)/III
> * flexcop.c - main module part
> @@ -15,16 +16,6 @@
> * Uwe Bugla, uwe.bugla at gmx.de (doing tests, restyling code, writing docu)
> * Niklas Peinecke, peinecke at gdv.uni-hannover.de (hardware pid/mac
> * filtering)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU Lesser General Public License
> - * as published by the Free Software Foundation; either version 2.1
> - * 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 "flexcop.h"
> --
> 2.25.1