]> git.baikalelectronics.ru Git - uboot.git/commit
drivers/net/fec: phy_init: remove redundant logic
authorHannes Schmelzer <hannes.schmelzer@br-automation.com>
Fri, 15 Feb 2019 09:30:18 +0000 (10:30 +0100)
committerStefano Babic <sbabic@denx.de>
Wed, 13 Mar 2019 08:14:35 +0000 (09:14 +0100)
commit67780e0cd8fd55ee569d97c8d8656ed5e0dbfe73
tree6e63cae229ebf950eeca9efaeb749dbbd80005ae
parentca87578e26cfb002a8565ad6c96485a9e4c74e73
drivers/net/fec: phy_init: remove redundant logic

The phy_connect_dev(...) function from phy.c does all the handling
(inclusive catching fixed-link).

So we drop here the single steps and call just phy_connect_dev(...).

Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fec_mxc.c