.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2014 Oleksij Rempel <linux@rempel-privat.de> |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or |
---|
5 | | - * modify it under the terms of the GNU General Public License |
---|
6 | | - * as published by the Free Software Foundation; either version 2 |
---|
7 | | - * of the License, or (at your option) any later version. |
---|
8 | 4 | */ |
---|
9 | 5 | |
---|
10 | 6 | #include <linux/kernel.h> |
---|
.. | .. |
---|
193 | 189 | |
---|
194 | 190 | priv.base = of_io_request_and_map(np, 0, np->name); |
---|
195 | 191 | if (IS_ERR(priv.base)) { |
---|
196 | | - pr_err("%s: unable to map resource\n", np->name); |
---|
| 192 | + pr_err("%pOFn: unable to map resource\n", np); |
---|
197 | 193 | return PTR_ERR(priv.base); |
---|
198 | 194 | } |
---|
199 | 195 | |
---|