[v1,08/10] gpio: crystalcove: Convert to use SPDX identifier

Message ID 20190205133829.68968-8-andriy.shevchenko@linux.intel.com
State New
Headers show
Series
  • [v1,01/10] gpio: crystalcove: Use for_each_set_bit() in IRQ handler
Related show

Commit Message

Andy Shevchenko Feb. 5, 2019, 1:38 p.m.
Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/gpio/gpio-crystalcove.c | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

Comments

sathyanarayanan kuppuswamy Feb. 5, 2019, 6:56 p.m. | #1
On 2/5/19 5:38 AM, Andy Shevchenko wrote:
> Reduce size of duplicated comments by switching to use SPDX identifier.
>
> No functional change.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Kuppuswamy Sathyanarayanan 
<sathyanarayanan.kuppuswamy@linux.intel.com>
> ---
>   drivers/gpio/gpio-crystalcove.c | 12 ++----------
>   1 file changed, 2 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/gpio/gpio-crystalcove.c b/drivers/gpio/gpio-crystalcove.c
> index c73e7c285636..14d1f4c933b6 100644
> --- a/drivers/gpio/gpio-crystalcove.c
> +++ b/drivers/gpio/gpio-crystalcove.c
> @@ -1,17 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0
>   /*
> - * gpio-crystalcove.c - Intel Crystal Cove GPIO Driver
> + * Intel Crystal Cove GPIO Driver
>    *
>    * Copyright (C) 2012, 2014 Intel Corporation. All rights reserved.
>    *
> - * 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.
> - *
> - * 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.
> - *
>    * Author: Yang, Bin <bin.yang@intel.com>
>    */
>

Patch

diff --git a/drivers/gpio/gpio-crystalcove.c b/drivers/gpio/gpio-crystalcove.c
index c73e7c285636..14d1f4c933b6 100644
--- a/drivers/gpio/gpio-crystalcove.c
+++ b/drivers/gpio/gpio-crystalcove.c
@@ -1,17 +1,9 @@ 
+// SPDX-License-Identifier: GPL-2.0
 /*
- * gpio-crystalcove.c - Intel Crystal Cove GPIO Driver
+ * Intel Crystal Cove GPIO Driver
  *
  * Copyright (C) 2012, 2014 Intel Corporation. All rights reserved.
  *
- * 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.
- *
- * 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.
- *
  * Author: Yang, Bin <bin.yang@intel.com>
  */