forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
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 }