aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2014-05-12 11:24:31 -0500
committerRob Herring <[email protected]>2014-05-20 14:25:22 -0500
commitcb7d5f425fd1c5f2295770c3ee36c950a0b6714b (patch)
treeb5e0260255c770c68f25f459b0577a78821530a2 /net/lapb/lapb_subr.c
parent5c46f43f08004d6d25772c9b6e24fa048c8c3efc (diff)
clk: sunxi: avoid double DT matching
Use for_each_matching_node_and_match instead of for_each_matching_node plus of_match_node to avoid searching the DT twice for each node. The sunxi DT scanning code should really be re-worked rather than have its own private matching infrastructure. It is working around needing a function pointer and a data pointer for each compatible match. Signed-off-by: Rob Herring <[email protected]> Cc: "Emilio López" <[email protected]> Acked-by: Mike Turquette <[email protected]> Cc: Maxime Ripard <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions