History

device property: Drop 'test' prefix in parameters of fwnode_is_ancestor_of()

The part 'is' in the function name implies the test against something. Drop unnecessary 'test' prefix in the fwnode_is_ancestor_of() parameters. No functional change intended.

Andy Shevchenko committed 4 years ago

Commit 022fe6b1 parent 87ffea02 files · +10 −13Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/linux/property.h+1−2
@@ -95,8 +95,7 @@ struct device *fwnode_get_next_parent_dev(struct fwnode_handle *fwnode); · 94 unmodified lines
95unsigned int fwnode_count_parents(const struct fwnode_handle *fwn);95unsigned int fwnode_count_parents(const struct fwnode_handle *fwn);
96struct fwnode_handle *fwnode_get_nth_parent(struct fwnode_handle *fwn,96struct fwnode_handle *fwnode_get_nth_parent(struct fwnode_handle *fwn,
97 unsigned int depth);97 unsigned int depth);
98bool fwnode_is_ancestor_of(struct fwnode_handle *test_ancestor,98bool fwnode_is_ancestor_of(struct fwnode_handle *ancestor, struct fwnode_handle *child);
99 struct fwnode_handle *test_child);
100struct fwnode_handle *fwnode_get_next_child_node(99struct fwnode_handle *fwnode_get_next_child_node(
101 const struct fwnode_handle *fwnode, struct fwnode_handle *child);100 const struct fwnode_handle *fwnode, struct fwnode_handle *child);
102struct fwnode_handle *fwnode_get_next_available_child_node(101struct fwnode_handle *fwnode_get_next_available_child_node(