aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorDavid Rivshin <[email protected]>2016-04-28 01:45:45 +0000
committerDavid S. Miller <[email protected]>2016-04-28 21:27:30 +0000
commit06cd6d6eda4bedbb826ed36e4c89734ea364ec4b (patch)
tree0c49b6362be9e3f3a528af84f83389c93782f12d /net/tipc
parentdt: cpsw: phy-handle, phy_id, and fixed-link are mutually exclusive (diff)
downloadkernel-06cd6d6eda4bedbb826ed36e4c89734ea364ec4b.tar.gz
kernel-06cd6d6eda4bedbb826ed36e4c89734ea364ec4b.zip
drivers: net: cpsw: use of_phy_connect() in fixed-link case
If a fixed-link DT subnode is used, the phy_device was looked up so that a PHY ID string could be constructed and passed to phy_connect(). This is not necessary, as the device_node can be passed directly to of_phy_connect() instead. This reuses the same codepath as if the phy-handle DT property was used. Signed-off-by: David Rivshin <[email protected]> Tested-by: Nicolas Chauvet <[email protected]> Tested-by: Andrew Goodbody <[email protected]> Reviewed-by: Mugunthan V N <[email protected]> Reviewed-by: Grygorii Strashko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions