]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: designware: use 'phy_connect' instead of open coded
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Mon, 15 Jul 2019 19:53:05 +0000 (21:53 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 25 Jul 2019 18:13:30 +0000 (13:13 -0500)
commit5dce9df0e9936b6d7443574f07ca7fab690a06d7
treecbe85548a51768e1324b2ae8f3f2facb3a3a28fe
parent9bc07e8174bf29432c43c8e1ffa87e3730120112
net: designware: use 'phy_connect' instead of open coded

Using 'phy_connect' instead of 'phy_find_by_mask' and 'phy_connect_dev'
both deduplicates code and adds support for 'fixed-link'.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/designware.c