diff options
| author | Sakari Ailus <[email protected]> | 2017-03-28 10:52:26 +0300 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2017-03-29 00:00:29 +0200 |
| commit | 233872585de1cf26c3c3da5859ffb3aba45bd486 (patch) | |
| tree | 4331c039ce70ba37369d07f088c8540ea32e037a /include/linux | |
| parent | 2bd5452d46df46d99b869b59a1532647e2981d75 (diff) | |
device property: Add fwnode_get_next_parent()
In order to differentiate the functionality between dropping a reference
to the node (or not) for the benefit of OF, introduce
fwnode_get_next_parent().
Signed-off-by: Sakari Ailus <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/property.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/property.h b/include/linux/property.h index 3a4e43599e01..2f482616a2f2 100644 --- a/include/linux/property.h +++ b/include/linux/property.h @@ -73,6 +73,7 @@ int fwnode_property_match_string(struct fwnode_handle *fwnode, const char *propname, const char *string); struct fwnode_handle *fwnode_get_parent(struct fwnode_handle *fwnode); +struct fwnode_handle *fwnode_get_next_parent(struct fwnode_handle *fwnode); struct fwnode_handle *fwnode_get_next_child_node(struct fwnode_handle *fwnode, struct fwnode_handle *child); |