2021-07-31 13:25:55

by Jason Wang

[permalink] [raw]
Subject: [PATCH] clk: palmas: Add a missing SPDX license header

Add the missing SPDX license header to drivers/clk/clk-palmas.c.

Signed-off-by: Jason Wang <[email protected]>
---
drivers/clk/clk-palmas.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/clk/clk-palmas.c b/drivers/clk/clk-palmas.c
index e41a3a9f7528..84dcb1aca4a5 100644
--- a/drivers/clk/clk-palmas.c
+++ b/drivers/clk/clk-palmas.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* Clock driver for Palmas device.
*
--
2.32.0



2021-08-06 07:02:15

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] clk: palmas: Add a missing SPDX license header

Quoting Jason Wang (2021-07-31 06:22:26)
> Add the missing SPDX license header to drivers/clk/clk-palmas.c.
>
> Signed-off-by: Jason Wang <[email protected]>
> ---
> drivers/clk/clk-palmas.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/clk-palmas.c b/drivers/clk/clk-palmas.c
> index e41a3a9f7528..84dcb1aca4a5 100644
> --- a/drivers/clk/clk-palmas.c
> +++ b/drivers/clk/clk-palmas.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
> /*
> * Clock driver for Palmas device.
> *

Shouldn't we remove the license text in the comment at the same time?