.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright 2014 Chen-Yu Tsai |
---|
3 | 4 | * |
---|
4 | 5 | * Chen-Yu Tsai <wens@csie.org> |
---|
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; either version 2 of the License, or |
---|
9 | | - * (at your option) any later version. |
---|
10 | | - * |
---|
11 | | - * This program is distributed in the hope that it will be useful, |
---|
12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | | - * GNU General Public License for more details. |
---|
15 | 6 | */ |
---|
16 | 7 | |
---|
17 | 8 | #include <linux/clk.h> |
---|
.. | .. |
---|
88 | 79 | |
---|
89 | 80 | reg = of_io_request_and_map(node, 0, of_node_full_name(node)); |
---|
90 | 81 | if (IS_ERR(reg)) { |
---|
91 | | - pr_err("Could not get registers for a80-pll4-clk: %s\n", |
---|
92 | | - node->name); |
---|
| 82 | + pr_err("Could not get registers for a80-pll4-clk: %pOFn\n", |
---|
| 83 | + node); |
---|
93 | 84 | return; |
---|
94 | 85 | } |
---|
95 | 86 | |
---|
.. | .. |
---|
142 | 133 | |
---|
143 | 134 | reg = of_io_request_and_map(node, 0, of_node_full_name(node)); |
---|
144 | 135 | if (IS_ERR(reg)) { |
---|
145 | | - pr_err("Could not get registers for a80-gt-clk: %s\n", |
---|
146 | | - node->name); |
---|
| 136 | + pr_err("Could not get registers for a80-gt-clk: %pOFn\n", |
---|
| 137 | + node); |
---|
147 | 138 | return; |
---|
148 | 139 | } |
---|
149 | 140 | |
---|
.. | .. |
---|
197 | 188 | |
---|
198 | 189 | reg = of_io_request_and_map(node, 0, of_node_full_name(node)); |
---|
199 | 190 | if (IS_ERR(reg)) { |
---|
200 | | - pr_err("Could not get registers for a80-ahb-clk: %s\n", |
---|
201 | | - node->name); |
---|
| 191 | + pr_err("Could not get registers for a80-ahb-clk: %pOFn\n", |
---|
| 192 | + node); |
---|
202 | 193 | return; |
---|
203 | 194 | } |
---|
204 | 195 | |
---|
.. | .. |
---|
223 | 214 | |
---|
224 | 215 | reg = of_io_request_and_map(node, 0, of_node_full_name(node)); |
---|
225 | 216 | if (IS_ERR(reg)) { |
---|
226 | | - pr_err("Could not get registers for a80-apb0-clk: %s\n", |
---|
227 | | - node->name); |
---|
| 217 | + pr_err("Could not get registers for a80-apb0-clk: %pOFn\n", |
---|
| 218 | + node); |
---|
228 | 219 | return; |
---|
229 | 220 | } |
---|
230 | 221 | |
---|
.. | .. |
---|
280 | 271 | |
---|
281 | 272 | reg = of_io_request_and_map(node, 0, of_node_full_name(node)); |
---|
282 | 273 | if (IS_ERR(reg)) { |
---|
283 | | - pr_err("Could not get registers for a80-apb1-clk: %s\n", |
---|
284 | | - node->name); |
---|
| 274 | + pr_err("Could not get registers for a80-apb1-clk: %pOFn\n", |
---|
| 275 | + node); |
---|
285 | 276 | return; |
---|
286 | 277 | } |
---|
287 | 278 | |
---|