hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/drivers/clocksource/asm9260_timer.c
....@@ -1,10 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * 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.
84 */
95
106 #include <linux/kernel.h>
....@@ -193,7 +189,7 @@
193189
194190 priv.base = of_io_request_and_map(np, 0, np->name);
195191 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);
197193 return PTR_ERR(priv.base);
198194 }
199195