aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of/of_private.h
diff options
context:
space:
mode:
authorZev Weiss <zev@bewilderbeest.net>2021-10-05 23:19:42 -0700
committerRob Herring <robh@kernel.org>2021-10-06 14:14:38 -0500
commit6663ae07d995f5fbe2988a19858b2f87e68cf929 (patch)
treed4867a5c2dd6a50fe2daafdf7589310cc59db9ba /drivers/of/of_private.h
parentdocs: dt: Fix a few grammar nits in the binding/schema docs (diff)
downloadlinux-dev-6663ae07d995f5fbe2988a19858b2f87e68cf929.tar.xz
linux-dev-6663ae07d995f5fbe2988a19858b2f87e68cf929.zip
of: remove duplicate declarations of __of_*_sysfs() functions
When CONFIG_OF_KOBJ was introduced in commit b56b5528f5b3 ("of: make kobject and bin_attribute support configurable") and #ifdef-ed versions of these declarations got added, the originals didn't get removed. Fixes: b56b5528f5b3 ("of: make kobject and bin_attribute support configurable") Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Link: https://lore.kernel.org/r/20211006061943.8472-1-zev@bewilderbeest.net Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/of_private.h')
-rw-r--r--drivers/of/of_private.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/of/of_private.h b/drivers/of/of_private.h
index 631489f7f8c0..75e67b8bb826 100644
--- a/drivers/of/of_private.h
+++ b/drivers/of/of_private.h
@@ -127,19 +127,11 @@ struct device_node *__of_find_node_by_full_path(struct device_node *node,
extern const void *__of_get_property(const struct device_node *np,
const char *name, int *lenp);
extern int __of_add_property(struct device_node *np, struct property *prop);
-extern int __of_add_property_sysfs(struct device_node *np,
- struct property *prop);
extern int __of_remove_property(struct device_node *np, struct property *prop);
-extern void __of_remove_property_sysfs(struct device_node *np,
- struct property *prop);
extern int __of_update_property(struct device_node *np,
struct property *newprop, struct property **oldprop);
-extern void __of_update_property_sysfs(struct device_node *np,
- struct property *newprop, struct property *oldprop);
-extern int __of_attach_node_sysfs(struct device_node *np);
extern void __of_detach_node(struct device_node *np);
-extern void __of_detach_node_sysfs(struct device_node *np);
extern void __of_sysfs_remove_bin_file(struct device_node *np,
struct property *prop);