Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resource: Add a resource_list_first_type helper
commit 494f8b1 upstream. A common pattern is looping over a resource_list just to get a matching entry with a specific type. Add resource_list_first_type() helper which implements this. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
- Loading branch information