From 8909066199281b86bf4ee7673ec6d7983dd12a26 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 6 Sep 2022 20:27:17 -0600 Subject: dm: core: Drop ofnode_is_available() This function is also available as ofnode_is_enabled(), so use that instead. Signed-off-by: Simon Glass --- include/dm/ofnode.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/dm/ofnode.h') diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h index 7b0ef109b79..a674d7d8fd6 100644 --- a/include/dm/ofnode.h +++ b/include/dm/ofnode.h @@ -872,14 +872,6 @@ int ofnode_next_property(struct ofprop *prop); const void *ofprop_get_property(const struct ofprop *prop, const char **propname, int *lenp); -/** - * ofnode_is_available() - check if a node is marked available - * - * @node: node to check - * Return: true if node's 'status' property is "okay" (or is missing) - */ -bool ofnode_is_available(ofnode node); - /** * ofnode_get_addr_size() - get address and size from a property * -- cgit v1.2.3