hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/clk/renesas/clk-r8a7740.c
....@@ -1,16 +1,14 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * r8a7740 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>
....@@ -187,8 +185,8 @@
187185
188186 clk = r8a7740_cpg_register_clock(np, cpg, name);
189187 if (IS_ERR(clk))
190
- pr_err("%s: failed to register %s %s clock (%ld)\n",
191
- __func__, np->name, name, PTR_ERR(clk));
188
+ pr_err("%s: failed to register %pOFn %s clock (%ld)\n",
189
+ __func__, np, name, PTR_ERR(clk));
192190 else
193191 cpg->data.clks[i] = clk;
194192 }