PCI: Convert to using %pOF instead of full_name()
[linux-2.6-microblaze.git] / drivers / pci / host / pci-mvebu.c
index f353a6e..4249829 100644 (file)
@@ -1054,8 +1054,8 @@ static int mvebu_pcie_parse_port(struct mvebu_pcie *pcie,
        port->pcie = pcie;
 
        if (of_property_read_u32(child, "marvell,pcie-port", &port->port)) {
-               dev_warn(dev, "ignoring %s, missing pcie-port property\n",
-                        of_node_full_name(child));
+               dev_warn(dev, "ignoring %pOF, missing pcie-port property\n",
+                        child);
                goto skip;
        }
 
@@ -1106,8 +1106,8 @@ static int mvebu_pcie_parse_port(struct mvebu_pcie *pcie,
                }
 
                if (flags & OF_GPIO_ACTIVE_LOW) {
-                       dev_info(dev, "%s: reset gpio is active low\n",
-                                of_node_full_name(child));
+                       dev_info(dev, "%pOF: reset gpio is active low\n",
+                                child);
                        gpio_flags = GPIOF_ACTIVE_LOW |
                                     GPIOF_OUT_INIT_LOW;
                } else {