From: Frank Rowand <frank.rowand@xxxxxxxx> struct device_node full_name has been changed to include the basename instead of the full path. kbasename() is no longer needed to extract the basename from full_name. Signed-off-by: Frank Rowand <frank.rowand@xxxxxxxx> --- drivers/of/kobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/kobj.c b/drivers/of/kobj.c index 7a0a18980b98..b0aecea35706 100644 --- a/drivers/of/kobj.c +++ b/drivers/of/kobj.c @@ -128,7 +128,7 @@ int __of_attach_node_sysfs(struct device_node *np) name = safe_name(&of_kset->kobj, "base"); parent = NULL; } else { - name = safe_name(&np->parent->kobj, kbasename(np->full_name)); + name = safe_name(&np->parent->kobj, np->full_name); parent = &np->parent->kobj; } if (!name) -- Frank Rowand <frank.rowand@xxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html