Re: [PATCH v2] iio: mma8452: replace license description with SPDX specifier

From: Jonathan Cameron
Date: Sat Nov 18 2017 - 10:53:41 EST


On Sat, 18 Nov 2017 10:10:11 +0100
Martin Kepplinger <martink@xxxxxxxxx> wrote:

> This replaces the custom license information text with the appropriate
> SPDX identifier. While the information here stays the same, it is easier
> to read.
>
> Signed-off-by: Martin Kepplinger <martink@xxxxxxxxx>
> Acked-by: Peter Meerwald-Stadler <pmeerw@xxxxxxxxxx>

I'm not 100% sure the intent of the SPDX work is to remove
existing licence text. So far the big sets have only been
adding tags to files missing their licenses entirely...

Anyone found any specific guidance on this?

Jonathan
> ---
>
> Sorry I had forgotten to add the mailing lists and got Peter's Ack
> privately. -.- But thanks Peter for the quick response!
>
> Again, an Acked-by from Harinath would be good here too.
>
> thanks
>
> martin
>
> revision history
> ----------------
> v2: adds Peter's Acked-by and adds all mailing lists to CC
>
>
> drivers/iio/accel/mma8452.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c
> index bfd4bc806fc2..62c0d4646c16 100644
> --- a/drivers/iio/accel/mma8452.c
> +++ b/drivers/iio/accel/mma8452.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
> /*
> * mma8452.c - Support for following Freescale / NXP 3-axis accelerometers:
> *
> @@ -13,9 +14,6 @@
> * Copyright 2015 Martin Kepplinger <martink@xxxxxxxxx>
> * Copyright 2014 Peter Meerwald <pmeerw@xxxxxxxxxx>
> *
> - * This file is subject to the terms and conditions of version 2 of
> - * the GNU General Public License. See the file COPYING in the main
> - * directory of this archive for more details.
> *
> * TODO: orientation events
> */