summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-10-02 00:27:39 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2018-10-02 00:54:21 +0200
commit5d68fa587a6201d856ce535585cdbcda6834b7a1 (patch)
tree82524d043a58f0e1790349e304ae948b402d0320
parentInput: atmel_mxt_ts - fix multiple <linux/property.h> includes (diff)
downloadlinux-5d68fa587a6201d856ce535585cdbcda6834b7a1.tar.xz
linux-5d68fa587a6201d856ce535585cdbcda6834b7a1.zip
Input: xilinx_ps2 - convert to using %pOFn instead of device_node.name
In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--drivers/input/serio/xilinx_ps2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/xilinx_ps2.c b/drivers/input/serio/xilinx_ps2.c
index 07de1b49293c..6615c02a08fd 100644
--- a/drivers/input/serio/xilinx_ps2.c
+++ b/drivers/input/serio/xilinx_ps2.c
@@ -245,7 +245,7 @@ static int xps2_of_probe(struct platform_device *ofdev)
unsigned int irq;
int error;
- dev_info(dev, "Device Tree Probing \'%s\'\n", dev->of_node->name);
+ dev_info(dev, "Device Tree Probing \'%pOFn\'\n", dev->of_node);
/* Get iospace for the device */
error = of_address_to_resource(dev->of_node, 0, &r_mem);