diff options
author | Rob Herring <robh@kernel.org> | 2019-10-28 11:32:32 -0500 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2019-10-29 10:47:14 +0000 |
commit | 494f8b10d832456a96be4ee7317425f6936cabc8 (patch) | |
tree | db7af0599f5312da9742f5c8875d17162c7d2719 /net/xfrm | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff) | |
download | linux-next-494f8b10d832456a96be4ee7317425f6936cabc8.tar.gz |
resource: Add a resource_list_first_type helper
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>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions