mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
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>
This commit is contained in:
parent
d258780059
commit
5d68fa587a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue