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)
commitb882005a18dec45848e153dcf8d29b4a2feecf14
tree6e63cae229ebf950eeca9efaeb749dbbd80005ae
parentd46d27d3b6558904b8fb44e90393f11c54ef3363
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