summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/of/dynamic.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/of/dynamic.c')
-rw-r--r--kernel/drivers/of/dynamic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/of/dynamic.c b/kernel/drivers/of/dynamic.c
index 53826b84e..2d72ddcf5 100644
--- a/kernel/drivers/of/dynamic.c
+++ b/kernel/drivers/of/dynamic.c
@@ -55,7 +55,7 @@ void __of_detach_node_sysfs(struct device_node *np)
/* only remove properties if on sysfs */
if (of_node_is_attached(np)) {
for_each_property_of_node(np, pp)
- sysfs_remove_bin_file(&np->kobj, &pp->attr);
+ __of_sysfs_remove_bin_file(np, pp);
kobject_del(&np->kobj);
}