hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/clk/renesas/clk-r8a7778.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * r8a7778 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>
....@@ -130,8 +127,8 @@
130127
131128 clk = r8a7778_cpg_register_clock(np, cpg, name);
132129 if (IS_ERR(clk))
133
- pr_err("%s: failed to register %s %s clock (%ld)\n",
134
- __func__, np->name, name, PTR_ERR(clk));
130
+ pr_err("%s: failed to register %pOFn %s clock (%ld)\n",
131
+ __func__, np, name, PTR_ERR(clk));
135132 else
136133 cpg->data.clks[i] = clk;
137134 }