Input: xilinx_ps2 - convert to using %pOFn instead of device_node.name
authorRob Herring <robh@kernel.org>
Mon, 1 Oct 2018 22:27:39 +0000 (15:27 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 1 Oct 2018 22:54:21 +0000 (15:54 -0700)
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>
drivers/input/serio/xilinx_ps2.c

index 07de1b49293caf67874555885356af2a27a05559..6615c02a08fd5e64980ba8836d9b6f9c4db0b278 100644 (file)
@@ -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);