2018-09-01 19:57:59

by Tomasz Duszynski

[permalink] [raw]
Subject: [PATCH] iio: light: bh1750: switch to SPDX identifier

Drop boilerplate license text and use SPDX identifier instead.

Signed-off-by: Tomasz Duszynski <[email protected]>
---
drivers/iio/light/bh1750.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/iio/light/bh1750.c b/drivers/iio/light/bh1750.c
index a814828e69f5..493ca7420602 100644
--- a/drivers/iio/light/bh1750.c
+++ b/drivers/iio/light/bh1750.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* ROHM BH1710/BH1715/BH1721/BH1750/BH1751 ambient light sensor driver
*
* Copyright (c) Tomasz Duszynski <[email protected]>
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
* Data sheets:
* http://rohmfs.rohm.com/en/products/databook/datasheet/ic/sensor/light/bh1710fvc-e.pdf
* http://rohmfs.rohm.com/en/products/databook/datasheet/ic/sensor/light/bh1715fvc-e.pdf
--
2.18.0



2018-09-02 20:37:01

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH] iio: light: bh1750: switch to SPDX identifier

On Sat, 1 Sep 2018 21:51:44 +0200
Tomasz Duszynski <[email protected]> wrote:

> Drop boilerplate license text and use SPDX identifier instead.
>
> Signed-off-by: Tomasz Duszynski <[email protected]>
Applied. Thanks,

Jonathan

> ---
> drivers/iio/light/bh1750.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/drivers/iio/light/bh1750.c b/drivers/iio/light/bh1750.c
> index a814828e69f5..493ca7420602 100644
> --- a/drivers/iio/light/bh1750.c
> +++ b/drivers/iio/light/bh1750.c
> @@ -1,12 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0
> /*
> * ROHM BH1710/BH1715/BH1721/BH1750/BH1751 ambient light sensor driver
> *
> * Copyright (c) Tomasz Duszynski <[email protected]>
> *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation.
> - *
> * Data sheets:
> * http://rohmfs.rohm.com/en/products/databook/datasheet/ic/sensor/light/bh1710fvc-e.pdf
> * http://rohmfs.rohm.com/en/products/databook/datasheet/ic/sensor/light/bh1715fvc-e.pdf