diff mbox series

[v2,2/2] Input: edt-ft5x06 - Convert to use SPDX identifier

Message ID 20190302180714.90014-3-andriy.shevchenko@linux.intel.com (mailing list archive)
State Mainlined
Commit 6d3a41ab0c37320068e28e1f9b45e4304bb30db0
Headers show
Series Input: edt-ft5x06: Enable for ACPI | expand

Commit Message

Andy Shevchenko March 2, 2019, 6:07 p.m. UTC
Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

While here, correct MODULE_LICENSE() string to be aligned with license text.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/input/touchscreen/edt-ft5x06.c | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

Comments

Dmitry Torokhov March 4, 2019, 7:32 a.m. UTC | #1
On Sat, Mar 02, 2019 at 09:07:14PM +0300, Andy Shevchenko wrote:
> Reduce size of duplicated comments by switching to use SPDX identifier.
> 
> No functional change.
> 
> While here, correct MODULE_LICENSE() string to be aligned with license text.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Applied, thank you.

> ---
>  drivers/input/touchscreen/edt-ft5x06.c | 16 ++--------------
>  1 file changed, 2 insertions(+), 14 deletions(-)
> 
> diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c
> index bcd3d9d7367f..817833536c9e 100644
> --- a/drivers/input/touchscreen/edt-ft5x06.c
> +++ b/drivers/input/touchscreen/edt-ft5x06.c
> @@ -1,20 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * Copyright (C) 2012 Simon Budig, <simon.budig@kernelconcepts.de>
>   * Daniel Wagener <daniel.wagener@kernelconcepts.de> (M09 firmware support)
>   * Lothar Waßmann <LW@KARO-electronics.de> (DT support)
> - *
> - * This software is licensed under the terms of the GNU General Public
> - * License version 2, as published by the Free Software Foundation, and
> - * may be copied, distributed, and modified under those terms.
> - *
> - * 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.
> - *
> - * You should have received a copy of the GNU General Public
> - * License along with this library; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
>   */
>  
>  /*
> @@ -1186,4 +1174,4 @@ module_i2c_driver(edt_ft5x06_ts_driver);
>  
>  MODULE_AUTHOR("Simon Budig <simon.budig@kernelconcepts.de>");
>  MODULE_DESCRIPTION("EDT FT5x06 I2C Touchscreen Driver");
> -MODULE_LICENSE("GPL");
> +MODULE_LICENSE("GPL v2");
> -- 
> 2.20.1
>
diff mbox series

Patch

diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c
index bcd3d9d7367f..817833536c9e 100644
--- a/drivers/input/touchscreen/edt-ft5x06.c
+++ b/drivers/input/touchscreen/edt-ft5x06.c
@@ -1,20 +1,8 @@ 
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2012 Simon Budig, <simon.budig@kernelconcepts.de>
  * Daniel Wagener <daniel.wagener@kernelconcepts.de> (M09 firmware support)
  * Lothar Waßmann <LW@KARO-electronics.de> (DT support)
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
 /*
@@ -1186,4 +1174,4 @@  module_i2c_driver(edt_ft5x06_ts_driver);
 
 MODULE_AUTHOR("Simon Budig <simon.budig@kernelconcepts.de>");
 MODULE_DESCRIPTION("EDT FT5x06 I2C Touchscreen Driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");