2019-03-25 20:34:24

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH v2] regulator: da9063: convert header to SPDX

Covnert the header of the source file to SPDX.

Signed-off-by: Wolfram Sang <[email protected]>
---

Change since V1: use C++ comments everywhere

drivers/regulator/da9063-regulator.c | 22 ++++++++--------------
1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/drivers/regulator/da9063-regulator.c b/drivers/regulator/da9063-regulator.c
index 06ee844a969d..82107c9e09f0 100644
--- a/drivers/regulator/da9063-regulator.c
+++ b/drivers/regulator/da9063-regulator.c
@@ -1,18 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0+
+//
+// Regulator driver for DA9063 PMIC series
+//
+// Copyright 2012 Dialog Semiconductors Ltd.
+// Copyright 2013 Philipp Zabel, Pengutronix
+//
+// Author: Krystian Garbaciak <[email protected]>

-/*
- * Regulator driver for DA9063 PMIC series
- *
- * Copyright 2012 Dialog Semiconductors Ltd.
- * Copyright 2013 Philipp Zabel, Pengutronix
- *
- * Author: Krystian Garbaciak <[email protected]>
- *
- * 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.
- *
- */
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
--
2.19.1



2019-03-27 11:37:49

by Simon Horman

[permalink] [raw]
Subject: Re: [PATCH v2] regulator: da9063: convert header to SPDX

On Mon, Mar 25, 2019 at 09:31:55PM +0100, Wolfram Sang wrote:
> Covnert the header of the source file to SPDX.
>
> Signed-off-by: Wolfram Sang <[email protected]>
> ---
>
> Change since V1: use C++ comments everywhere

Reviewed-by: Simon Horman <[email protected]>

>
> drivers/regulator/da9063-regulator.c | 22 ++++++++--------------
> 1 file changed, 8 insertions(+), 14 deletions(-)
>
> diff --git a/drivers/regulator/da9063-regulator.c b/drivers/regulator/da9063-regulator.c
> index 06ee844a969d..82107c9e09f0 100644
> --- a/drivers/regulator/da9063-regulator.c
> +++ b/drivers/regulator/da9063-regulator.c
> @@ -1,18 +1,12 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// Regulator driver for DA9063 PMIC series
> +//
> +// Copyright 2012 Dialog Semiconductors Ltd.
> +// Copyright 2013 Philipp Zabel, Pengutronix
> +//
> +// Author: Krystian Garbaciak <[email protected]>
>
> -/*
> - * Regulator driver for DA9063 PMIC series
> - *
> - * Copyright 2012 Dialog Semiconductors Ltd.
> - * Copyright 2013 Philipp Zabel, Pengutronix
> - *
> - * Author: Krystian Garbaciak <[email protected]>
> - *
> - * 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.
> - *
> - */
> #include <linux/kernel.h>
> #include <linux/module.h>
> #include <linux/init.h>
> --
> 2.19.1
>

2019-03-27 14:58:57

by Steve Twiss

[permalink] [raw]
Subject: RE: [PATCH v2] regulator: da9063: convert header to SPDX

On 25 March 2019 20:32, Wolfram Sang wrote:
> Subject: [PATCH v2] regulator: da9063: convert header to SPDX
>
> Covnert the header of the source file to SPDX.

[...]

> diff --git a/drivers/regulator/da9063-regulator.c b/drivers/regulator/da9063-regulator.c
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// Regulator driver for DA9063 PMIC series
> +//
> +// Copyright 2012 Dialog Semiconductors Ltd.
> +// Copyright 2013 Philipp Zabel, Pengutronix
> +//
> +// Author: Krystian Garbaciak <[email protected]>

Thanks!
Acked-by: Steve Twiss <[email protected]>