Re: [PATCH v3 5/7] staging:iio:ad2s90: Replace license text w/ SPDX identifier

From: Jonathan Cameron
Date: Sat Dec 01 2018 - 10:38:45 EST


On Fri, 23 Nov 2018 22:23:10 -0200
Matheus Tavares <matheus.bernardino@xxxxxx> wrote:

> This patch removes the license boilerplate text at the top of ad2s90.c
> and, instead, adds the SPDX GPL-2.0 license identifier, which solves the
> checkpatch.pl warning:
> "WARNING: Missing or malformed SPDX-License-Identifier tag in line 1".
>
> Signed-off-by: Matheus Tavares <matheus.bernardino@xxxxxx>
Applied,

Thanks,

Jonathan

> ---
> Changes in v3:
> - none
>
> Changes in v2:
> - Changed GPL-2.0-only identifier to GPL-2.0
> - Removed license boilerplate text
> - Rewritten patch message to reflect these modifications
>
> drivers/staging/iio/resolver/ad2s90.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/drivers/staging/iio/resolver/ad2s90.c b/drivers/staging/iio/resolver/ad2s90.c
> index 4721e9bbb8b0..678351dabe6b 100644
> --- a/drivers/staging/iio/resolver/ad2s90.c
> +++ b/drivers/staging/iio/resolver/ad2s90.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0
> /*
> * ad2s90.c simple support for the ADI Resolver to Digital Converters: AD2S90
> *
> * Copyright (c) 2010-2010 Analog Devices Inc.
> - *
> - * 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 <linux/types.h>
> #include <linux/mutex.h>