]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'of-graph-for-4.0' of git://git.pengutronix.de/git/pza/linux into for-next
authorRob Herring <robh@kernel.org>
Wed, 25 Mar 2015 05:41:08 +0000 (00:41 -0500)
committerRob Herring <robh@kernel.org>
Wed, 25 Mar 2015 05:41:08 +0000 (00:41 -0500)
commit59a68a3a2ef66c9178a392c23f30f2ac5ee465cb
tree476eae8727d98c56027ca1036a8f61ff261c9c51
parent3409255769c2683ef21d8fb2452cc5bbd994ca29
parentd9900c8b4b3f0bf9b6fd2934d889e933d880fed5
Merge tag 'of-graph-for-4.0' of git://git.pengutronix.de/git/pza/linux into for-next

Pull of-graph helpers from Philipp Zabel:
of: Add of-graph helpers to loop over endpoints and find ports by id

This series converts of_graph_get_next_endpoint to decrement the refcount of
the passed prev parameter. This allows to add a for_each_endpoint_of_node
helper macro to loop over all endpoints in a device tree node.
The of_graph_get_port_by_id function is added to retrieve a port by its known
port id (contained in the reg property) from the device tree.
drivers/of/base.c