aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pnv_php.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/pnv_php.c')
-rw-r--r--drivers/pci/hotplug/pnv_php.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/pnv_php.c b/drivers/pci/hotplug/pnv_php.c
index 7c203198b582..74f6a17e4614 100644
--- a/drivers/pci/hotplug/pnv_php.c
+++ b/drivers/pci/hotplug/pnv_php.c
@@ -163,8 +163,8 @@ static void pnv_php_detach_device_nodes(struct device_node *parent)
163 of_node_put(dn); 163 of_node_put(dn);
164 refcount = kref_read(&dn->kobj.kref); 164 refcount = kref_read(&dn->kobj.kref);
165 if (refcount != 1) 165 if (refcount != 1)
166 pr_warn("Invalid refcount %d on <%s>\n", 166 pr_warn("Invalid refcount %d on <%pOF>\n",
167 refcount, of_node_full_name(dn)); 167 refcount, dn);
168 168
169 of_detach_node(dn); 169 of_detach_node(dn);
170 } 170 }