diff mbox series

hwmon: (ads7871) Switch to SPDX header

Message ID 20190611071948.2978150-1-lkundrak@v3.sk (mailing list archive)
State Not Applicable
Headers show
Series hwmon: (ads7871) Switch to SPDX header | expand

Commit Message

Lubomir Rintel June 11, 2019, 7:19 a.m. UTC
The original license text had a typo ("publishhed") which would be
likely to confuse automated licensing auditing tools. Let's just switch
to SPDX instead of fixing the wording.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
---
 drivers/hwmon/ads7871.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

Comments

Guenter Roeck June 11, 2019, 10:57 a.m. UTC | #1
On 6/11/19 12:19 AM, Lubomir Rintel wrote:
> The original license text had a typo ("publishhed") which would be
> likely to confuse automated licensing auditing tools. Let's just switch
> to SPDX instead of fixing the wording.
> 
If you have a look into the upstream kernel, you may notice that
this has already been done. Same for the other patch.

Guenter

> Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
> ---
>   drivers/hwmon/ads7871.c | 10 +---------
>   1 file changed, 1 insertion(+), 9 deletions(-)
> 
> diff --git a/drivers/hwmon/ads7871.c b/drivers/hwmon/ads7871.c
> index cd14c1501508..7ccc79f77f95 100644
> --- a/drivers/hwmon/ads7871.c
> +++ b/drivers/hwmon/ads7871.c
> @@ -1,17 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0+
>   /*
>    *  ads7871 - driver for TI ADS7871 A/D converter
>    *
>    *  Copyright (c) 2010 Paul Thomas <pthomas8589@gmail.com>
>    *
> - *  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.
> - *
> - *  This program is free software; you can redistribute it and/or modify
> - *  it under the terms of the GNU General Public License version 2 or
> - *  later as publishhed by the Free Software Foundation.
> - *
>    *	You need to have something like this in struct spi_board_info
>    *	{
>    *		.modalias	= "ads7871",
>
diff mbox series

Patch

diff --git a/drivers/hwmon/ads7871.c b/drivers/hwmon/ads7871.c
index cd14c1501508..7ccc79f77f95 100644
--- a/drivers/hwmon/ads7871.c
+++ b/drivers/hwmon/ads7871.c
@@ -1,17 +1,9 @@ 
+// SPDX-License-Identifier: GPL-2.0+
 /*
  *  ads7871 - driver for TI ADS7871 A/D converter
  *
  *  Copyright (c) 2010 Paul Thomas <pthomas8589@gmail.com>
  *
- *  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.
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License version 2 or
- *  later as publishhed by the Free Software Foundation.
- *
  *	You need to have something like this in struct spi_board_info
  *	{
  *		.modalias	= "ads7871",