aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2017-09-19 09:39:12 +0000
committerRafael J. Wysocki <[email protected]>2017-11-08 23:17:23 +0000
commit5e4b1b707b7ed795585b8ee28c44ce692aa8dfef (patch)
tree0a978b135e6711712fb3d0506a6a03eda0fcbe23 /drivers/tty/serial/sccnxp.c
parentdevice property: Make fwnode_handle_get() return the fwnode (diff)
downloadkernel-5e4b1b707b7ed795585b8ee28c44ce692aa8dfef.tar.gz
kernel-5e4b1b707b7ed795585b8ee28c44ce692aa8dfef.zip
device property: Add a macro for interating over graph endpoints
Add a convenience macro for iterating over graph endpoints. Iterating over graph endpoints using fwnode_graph_get_next_endpoint() is a recurring pattern, and this macro allows calling that function in a slightly more convenient way. For instance, for (child = NULL; (child = fwnode_graph_get_next_endpoint(fwnode, child)); ) becomes fwnode_graph_for_each_endpoint(fwnode, child) Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions