]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/powerpc/platforms/cell/iommu.c
devicetree: add helper inline for retrieving a node's full name
[mirror_ubuntu-zesty-kernel.git] / arch / powerpc / platforms / cell / iommu.c
index b9f509a34c012b672e3b368f8121d9446b52d2ee..b6732004c882ea6275cd7c3f3ef345e36800b0d5 100644 (file)
@@ -552,8 +552,7 @@ static struct iommu_table *cell_get_iommu_table(struct device *dev)
        iommu = cell_iommu_for_node(dev_to_node(dev));
        if (iommu == NULL || list_empty(&iommu->windows)) {
                printk(KERN_ERR "iommu: missing iommu for %s (node %d)\n",
-                      dev->of_node ? dev->of_node->full_name : "?",
-                      dev_to_node(dev));
+                      of_node_full_name(dev->of_node), dev_to_node(dev));
                return NULL;
        }
        window = list_entry(iommu->windows.next, struct iommu_window, list);