Re: [PATCH 29/35] ARM: davinci: cp-intc: drop GPL license boilerplate

David Lechner
2019-02-05T00:41:35Z

On 1/31/19 7:39 AM, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
>
> Replace the GPLv2 license boilerplate with an SPDX identifier.

Should also mention that you are adding an author and copyright.

>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> ---
> arch/arm/mach-davinci/cp_intc.c | 18 ++++++++----------
> 1 file changed, 8 insertions(+), 10 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/cp_intc.c b/arch/arm/mach-davinci/cp_intc.c
> index 812e49fcaa8b..780b3f57aa59 100644
> --- a/arch/arm/mach-davinci/cp_intc.c
> +++ b/arch/arm/mach-davinci/cp_intc.c
> @@ -1,13 +1,11 @@
> -/*
> - * TI Common Platform Interrupt Controller (cp_intc) driver
> - *
> - * Author: Steve Chen <schen@mvista.com>
> - * Copyright (C) 2008-2009, MontaVista Software, Inc. <source@mvista.com>
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2. This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
> - */
> +// SPDX-License-Identifier: GPL-2.0

GPL-2.0-only ?

> +//
> +// Author: Steve Chen <schen@mvista.com>
> +// Copyright (C) 2008-2009, MontaVista Software, Inc. <source@mvista.com>
> +// Author: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> +// Copyright (C) 2019, Texas Instruments
> +//
> +// TI Common Platform Interrupt Controller (cp_intc) driver
>
> #include <linux/export.h>
> #include <linux/init.h>
>