Skip to contentSkip to conversation

clk: meson: use SPDX license identifiers consistently

PATCH In review Jerome Brunet 2 participants 5 messages May 16, 2018 – May 18, 2018

Subsystems (3)
lore
Share & tools
lore

Jerome Brunet

author maintainer
#0 lore raw

PATCH v2 1/1 clk: meson: use SPDX license identifiers consistently

Replace every license notices in drivers/clk/meson by SPDX license identifiers, as described in license-rules.rst

---

Changes since v1: [0]
* GPL-2.0+ errors reported by Stephen and Fabio (Thx!)

[0]: https://lkml.kernel.org/r/20180515164229.4606-1-jbrunet at baylibre.com

 drivers/clk/meson/clk-audio-divider.c | 13 +--------
 drivers/clk/meson/clk-mpll.c          | 52 +----------------------------------
 drivers/clk/meson/clk-pll.c           | 13 +--------
 drivers/clk/meson/clk-regmap.c        |  6 ++--
 drivers/clk/meson/clk-regmap.h        |  8 ++++--
 drivers/clk/meson/clkc.h              | 13 +--------
 drivers/clk/meson/gxbb-aoclk-32k.c    |  3 +-
 drivers/clk/meson/gxbb-aoclk.c        | 51 +---------------------------------
 drivers/clk/meson/gxbb-aoclk.h        |  3 +-
 drivers/clk/meson/gxbb.c              | 15 +---------
 drivers/clk/meson/gxbb.h              | 52 +----------------------------------
 drivers/clk/meson/meson8b.c           | 16 +----------
 drivers/clk/meson/meson8b.h           | 13 +--------
 13 files changed, 20 insertions(+), 238 deletions(-)
drivers/clk/meson/clk-audio-divider.c +1 -12
index f7ab5b1db342..58f546e04807 100644
@@ -1,18 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2017 AmLogic, Inc.
  * Author: Jerome Brunet <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope 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.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
drivers/clk/meson/clk-mpll.c +1 -51

58 lines not on this page · raw message

drivers/clk/meson/clk-pll.c +1 -12
index 65a7bd903551..3e04617ac47f 100644
@@ -1,21 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2015 Endless Mobile, Inc.
  * Author: Carlo Caione <[email protected]>
  *
  * Copyright (c) 2018 Baylibre, SAS.
  * Author: Jerome Brunet <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope 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.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
drivers/clk/meson/clk-regmap.c +4 -2
index 3645fdb62343..bd8dbcbdc73c 100644
@@ -1,6 +1,8 @@
 // SPDX-License-Identifier: GPL-2.0
-// Copyright (c) 2018 BayLibre, SAS.
-// Author: Jerome Brunet <[email protected]>
+/*
+ * Copyright (c) 2018 BayLibre, SAS.
+ * Author: Jerome Brunet <[email protected]>
+ */
 
 #include "clk-regmap.h"
 
drivers/clk/meson/clk-regmap.h +5 -3
index 627c888026d7..ed2d4348dbe2 100644
@@ -1,6 +1,8 @@
-// SPDX-License-Identifier: GPL-2.0
-// Copyright (c) 2018 BayLibre, SAS.
-// Author: Jerome Brunet <[email protected]>
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (c) 2018 BayLibre, SAS.
+ * Author: Jerome Brunet <[email protected]>
+ */
 
 #ifndef __CLK_REGMAP_H
 #define __CLK_REGMAP_H
drivers/clk/meson/clkc.h +1 -12
index 8cc265cd3d2b..2fb084330ee9 100644
@@ -1,18 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2015 Endless Mobile, Inc.
  * Author: Carlo Caione <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope 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.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef __CLKC_H
drivers/clk/meson/gxbb-aoclk-32k.c +1 -2
index 491634dbc985..680467141a1d 100644
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (c) 2017 BayLibre, SAS.
  * Author: Neil Armstrong <[email protected]>
- *
- * SPDX-License-Identifier: GPL-2.0+
  */
 
 #include <linux/clk-provider.h>
drivers/clk/meson/gxbb-aoclk.c +1 -50

57 lines not on this page · raw message

drivers/clk/meson/gxbb-aoclk.h +1 -2
index 65962fc9ecdc..3aa638d4ed21 100644
@@ -1,8 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (c) 2017 BayLibre, SAS
  * Author: Neil Armstrong <[email protected]>
- *
- * SPDX-License-Identifier: GPL-2.0+
  */
 
 #ifndef __GXBB_AOCLKC_H
drivers/clk/meson/gxbb.c +1 -14
index a893b1edda22..240658404367 100644
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
- * AmLogic S905 / GXBB Clock Controller Driver
- *
  * Copyright (c) 2016 AmLogic, Inc.
  * Michael Turquette <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope 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.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include <linux/clk.h>
drivers/clk/meson/gxbb.h +1 -51

58 lines not on this page · raw message

drivers/clk/meson/meson8b.c +1 -15
index e6e9a9db1095..54dcb60f2dd5 100644
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
- * AmLogic S802 (Meson8) / S805 (Meson8b) / S812 (Meson8m2) Clock Controller
- * Driver
- *
  * Copyright (c) 2015 Endless Mobile, Inc.
  * Author: Carlo Caione <[email protected]>
  *
  * Copyright (c) 2016 BayLibre, Inc.
  * Michael Turquette <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope 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.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include <linux/clk.h>
drivers/clk/meson/meson8b.h +1 -12
index a687dc60b6d0..5d09412b5084 100644
@@ -1,21 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2015 Endless Mobile, Inc.
  * Author: Carlo Caione <[email protected]>
  *
  * Copyright (c) 2016 BayLibre, Inc.
  * Michael Turquette <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope 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.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef __MESON8B_H
Signature · 1 line
2.14.3
author maintainer
#2 lore raw
Quoted 4 lines · Stephen Boyd

Quoting Jerome Brunet (2018-05-16 01:50:40)

Quoted 3 lines

Replace every license notices in drivers/clk/meson by SPDX license identifiers, as described in license-rules.rst

Quoted 8 lines
Quoted 3 lines

---

I take it this will come through a PR? Otherwise I can apply it to clk-meson branch.

We may have a few other patches coming this week. I was planning on making another PR sometime next week, if this is OK with you.

maintainer
#3 lore raw

Quoting Jerome Brunet (2018-05-16 08:14:13)

Quoted 9 lines · Stephen Boyd
Quoted 8 lines

Quoting Jerome Brunet (2018-05-16 01:50:40)

Quoted 6 lines

Replace every license notices in drivers/clk/meson by SPDX license identifiers, as described in license-rules.rst

---

Quoted 8 lines
Quoted 4 lines

I take it this will come through a PR? Otherwise I can apply it to clk-meson branch.

We may have a few other patches coming this week. I was planning on making another PR sometime next week, if this is OK with you.

Sounds fine. Thanks.

author maintainer
#4 lore raw
Quoted 12 lines · Stephen Boyd

Quoting Jerome Brunet (2018-05-16 08:14:13)

Quoted 11 lines · Stephen Boyd
Quoted 10 lines

Quoting Jerome Brunet (2018-05-16 01:50:40)

Quoted 6 lines

Replace every license notices in drivers/clk/meson by SPDX license identifiers, as described in license-rules.rst

---

Quoted 9 lines
Quoted 6 lines
Quoted 2 lines

I take it this will come through a PR? Otherwise I can apply it to clk-meson branch.

We may have a few other patches coming this week. I was planning on making another PR sometime next week, if this is OK with you.

Sounds fine. Thanks.

Applied with Stephen's Ack