Re: [PATCH] hwmon: (tc654) Update to use SPDX-License-Identifier

From: Guenter Roeck
Date: Tue May 28 2019 - 16:38:39 EST


On Wed, May 15, 2019 at 03:15:08PM +1200, Chris Packham wrote:
> Add the SPDX-License-Identifier to the top of the file and remove the
> old license boilerplate.
>
> Signed-off-by: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>

Applied to hwmon-next.

Thanks,
Guenter

> ---
>
> Notes:
> I've gone with GPL-2.0+ because that matches the old text. As the author I
> don't mind switching to GPL-2.0 if people want that.
>
> drivers/hwmon/tc654.c | 11 +----------
> 1 file changed, 1 insertion(+), 10 deletions(-)
>
> diff --git a/drivers/hwmon/tc654.c b/drivers/hwmon/tc654.c
> index 81dd229d7db4..8d0acbf8fbfc 100644
> --- a/drivers/hwmon/tc654.c
> +++ b/drivers/hwmon/tc654.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0+
> /*
> * tc654.c - Linux kernel modules for fan speed controller
> *
> * Copyright (C) 2016 Allied Telesis Labs NZ
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * 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.
> */
>
> #include <linux/bitops.h>