hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/clk/renesas/clk-r8a73a4.c
....@@ -1,16 +1,14 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * r8a73a4 Core CPG Clocks
34 *
45 * Copyright (C) 2014 Ulrich Hecht
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; version 2 of the License.
96 */
107
118 #include <linux/clk-provider.h>
129 #include <linux/clk/renesas.h>
1310 #include <linux/init.h>
11
+#include <linux/io.h>
1412 #include <linux/kernel.h>
1513 #include <linux/slab.h>
1614 #include <linux/of.h>
....@@ -228,8 +226,8 @@
228226
229227 clk = r8a73a4_cpg_register_clock(np, cpg, name);
230228 if (IS_ERR(clk))
231
- pr_err("%s: failed to register %s %s clock (%ld)\n",
232
- __func__, np->name, name, PTR_ERR(clk));
229
+ pr_err("%s: failed to register %pOFn %s clock (%ld)\n",
230
+ __func__, np, name, PTR_ERR(clk));
233231 else
234232 cpg->data.clks[i] = clk;
235233 }