diff options
| author | Saravana Kannan <[email protected]> | 2024-02-07 01:18:01 +0000 |
|---|---|---|
| committer | Rob Herring <[email protected]> | 2024-02-09 10:32:09 +0000 |
| commit | 782bfd03c3ae2c0e6e01b661b8e18f1de50357be (patch) | |
| tree | 45543f2e11e61f2f021fd3e1a0fee07ac845bf9c /drivers/net/xen-netback/interface.c | |
| parent | of: property: Improve finding the consumer of a remote-endpoint property (diff) | |
| download | kernel-782bfd03c3ae2c0e6e01b661b8e18f1de50357be.tar.gz kernel-782bfd03c3ae2c0e6e01b661b8e18f1de50357be.zip | |
of: property: Improve finding the supplier of a remote-endpoint property
After commit 4a032827daa8 ("of: property: Simplify of_link_to_phandle()"),
remote-endpoint properties created a fwnode link from the consumer device
to the supplier endpoint. This is a tiny bit inefficient (not buggy) when
trying to create device links or detecting cycles. So, improve this the
same way we improved finding the consumer of a remote-endpoint property.
Fixes: 4a032827daa8 ("of: property: Simplify of_link_to_phandle()")
Signed-off-by: Saravana Kannan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
