aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorSaravana Kannan <[email protected]>2020-11-21 02:02:25 +0000
committerGreg Kroah-Hartman <[email protected]>2020-12-09 18:10:21 +0000
commitb5d3e2fbcb10957521af14c4256cd0e5f68b9234 (patch)
treec40d818e24ef8da83ed6bd939ab2092d074967ed /lib/dynamic_debug.c
parentdriver core: Allow only unprobed consumers for SYNC_STATE_ONLY device links (diff)
downloadkernel-b5d3e2fbcb10957521af14c4256cd0e5f68b9234.tar.gz
kernel-b5d3e2fbcb10957521af14c4256cd0e5f68b9234.zip
device property: Add fwnode_is_ancestor_of() and fwnode_get_next_parent_dev()
Add fwnode_is_ancestor_of() helper function to check if a fwnode is an ancestor of another fwnode. Add fwnode_get_next_parent_dev() helper function that take as input a fwnode and finds the closest ancestor fwnode that has a corresponding struct device and returns that struct device. Signed-off-by: Saravana Kannan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions