commit | 6207a78c098a183df1620c1e2cbf620a4cc7c3e3 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Wed Apr 25 12:12:51 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 27 11:53:03 2018 -0400 |
tree | 356ad8023c0b4a18cc7a895267711fdf620472a3 | |
parent | 89f09048348936a9a8c5131c8538cc6ed26fd44c [diff] |
net: dsa: Add helper function to obtain PHY device of a given port In preparation for having more call sites attempting to obtain a reference against a PHY device corresponding to a particular port, introduce a helper function for that purpose. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>