summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-05-17 14:29:14 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-05-18 08:31:32 +0200
commitd0a6fd63f1cf6a5dac5ef40e26e5df7b9880c7f5 (patch)
tree32044f38cba7d8014e896c64b84aebcb31cb6edb /drivers
parent03f2a17b10d060ba545cb8e280c1092b5bfdae29 (diff)
downloadbarebox-d0a6fd63f1cf6a5dac5ef40e26e5df7b9880c7f5.tar.gz
barebox-d0a6fd63f1cf6a5dac5ef40e26e5df7b9880c7f5.tar.xz
of: Make of_property_get_value() public
Make of_property_get_value() public, so it can be used in other part of the system. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/of/base.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 4bcc113645..fc01a99ef2 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -129,11 +129,6 @@ struct property *of_find_property(const struct device_node *np,
}
EXPORT_SYMBOL(of_find_property);
-static const void *of_property_get_value(struct property *pp)
-{
- return pp->value ? pp->value : pp->value_const;
-}
-
static void of_alias_add(struct alias_prop *ap, struct device_node *np,
int id, const char *stem, int stem_len)
{