[2/5] hw_random: ixp4xx: Use SPDX license tag

Message ID 20210511132928.814697-2-linus.walleij@linaro.org
State Accepted
Commit 479dfb6d56020548161ecfd3ba0b3770ac5f4bc2
Headers show
Series
  • [1/5] hw_random: ixp4xx: enable compile-testing
Related show

Commit Message

Linus Walleij May 11, 2021, 1:29 p.m.
This switches the IXP4xx hardware random driver to use
the SPDX type license tag.

Cc: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
The idea is to apply this through the ARM SoC tree along
with other IXP4xx refactorings.
Please tell me if you prefer another solution.
---
 drivers/char/hw_random/ixp4xx-rng.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

-- 
2.30.2

Comments

Herbert Xu May 21, 2021, 7:10 a.m. | #1
On Tue, May 11, 2021 at 03:29:25PM +0200, Linus Walleij wrote:
> This switches the IXP4xx hardware random driver to use

> the SPDX type license tag.

> 

> Cc: Deepak Saxena <dsaxena@plexity.net>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> ---

> The idea is to apply this through the ARM SoC tree along

> with other IXP4xx refactorings.

> Please tell me if you prefer another solution.

> ---

>  drivers/char/hw_random/ixp4xx-rng.c | 5 +----

>  1 file changed, 1 insertion(+), 4 deletions(-)


Acked-by: Herbert Xu <herbert@gondor.apana.org.au>

-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Patch

diff --git a/drivers/char/hw_random/ixp4xx-rng.c b/drivers/char/hw_random/ixp4xx-rng.c
index 34781028caec..defd8176cb68 100644
--- a/drivers/char/hw_random/ixp4xx-rng.c
+++ b/drivers/char/hw_random/ixp4xx-rng.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0
 /*
  * drivers/char/hw_random/ixp4xx-rng.c
  *
@@ -8,10 +9,6 @@ 
  * Copyright 2005 (c) MontaVista Software, Inc.
  *
  * Fixes by Michael Buesch
- *
- * 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.
  */
 
 #include <linux/kernel.h>