Message ID | 20190515031508.30206-1-chris.packham@alliedtelesis.co.nz (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | hwmon: (tc654) Update to use SPDX-License-Identifier | expand |
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@alliedtelesis.co.nz> 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>
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>
Add the SPDX-License-Identifier to the top of the file and remove the old license boilerplate. Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> --- 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(-)