hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/clk/renesas/clk-r8a7779.c
....@@ -1,13 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * r8a7779 Core CPG Clocks
34 *
45 * Copyright (C) 2013, 2014 Horms Solutions Ltd.
56 *
67 * Contact: Simon Horman <horms@verge.net.au>
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; version 2 of the License.
118 */
129
1310 #include <linux/clk-provider.h>
....@@ -164,8 +161,8 @@
164161 clk = r8a7779_cpg_register_clock(np, cpg, config,
165162 plla_mult, name);
166163 if (IS_ERR(clk))
167
- pr_err("%s: failed to register %s %s clock (%ld)\n",
168
- __func__, np->name, name, PTR_ERR(clk));
164
+ pr_err("%s: failed to register %pOFn %s clock (%ld)\n",
165
+ __func__, np, name, PTR_ERR(clk));
169166 else
170167 cpg->data.clks[i] = clk;
171168 }