hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/input/serio/xilinx_ps2.c
....@@ -1,17 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Xilinx XPS PS/2 device driver
34 *
45 * (c) 2005 MontaVista Software, Inc.
56 * (c) 2008 Xilinx, Inc.
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms of the GNU General Public License as published by the
9
- * Free Software Foundation; either version 2 of the License, or (at your
10
- * option) any later version.
11
- *
12
- * You should have received a copy of the GNU General Public License along
13
- * with this program; if not, write to the Free Software Foundation, Inc.,
14
- * 675 Mass Ave, Cambridge, MA 02139, USA.
157 */
168
179
....@@ -245,7 +237,7 @@
245237 unsigned int irq;
246238 int error;
247239
248
- dev_info(dev, "Device Tree Probing \'%s\'\n", dev->of_node->name);
240
+ dev_info(dev, "Device Tree Probing \'%pOFn\'\n", dev->of_node);
249241
250242 /* Get iospace for the device */
251243 error = of_address_to_resource(dev->of_node, 0, &r_mem);