aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_printf.c
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2019-10-03 12:32:11 +0000
committerRafael J. Wysocki <[email protected]>2019-10-11 09:26:55 +0000
commit87e5e95db31a27d117fbb4a5d464f44adb4c2ee2 (patch)
tree8169cd9ea74f307d7b31d10fddefccafed9ce813 /lib/test_printf.c
parentdevice property: Move fwnode_get_parent() up (diff)
downloadkernel-87e5e95db31a27d117fbb4a5d464f44adb4c2ee2.tar.gz
kernel-87e5e95db31a27d117fbb4a5d464f44adb4c2ee2.zip
device property: Add functions for accessing node's parents
Add two convenience functions for accessing node's parents: fwnode_count_parents() returns the number of parent nodes a given node has. fwnode_get_nth_parent() returns node's parent at a given distance from the node itself. Signed-off-by: Sakari Ailus <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test_printf.c')
0 files changed, 0 insertions, 0 deletions