hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/mach-zynq/slcr.c
....@@ -1,17 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Xilinx SLCR driver
34 *
45 * Copyright (c) 2011-2013 Xilinx Inc.
5
- *
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public License
8
- * as published by the Free Software Foundation; either version
9
- * 2 of the License, or (at your option) any later version.
10
- *
11
- * You should have received a copy of the GNU General Public
12
- * License along with this program; if not, write to the Free
13
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
14
- * 02139, USA.
156 */
167
178 #include <linux/io.h>
....@@ -233,7 +224,7 @@
233224
234225 register_restart_handler(&zynq_slcr_restart_nb);
235226
236
- pr_info("%s mapped to %p\n", np->name, zynq_slcr_base);
227
+ pr_info("%pOFn mapped to %p\n", np, zynq_slcr_base);
237228
238229 of_node_put(np);
239230