net: phy: Move fixed link code to separate routine
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tue, 27 Nov 2018 06:19:10 +0000 (11:49 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 24 Jan 2019 09:03:43 +0000 (10:03 +0100)
commitc256d3f7c591d6dbde0dedd9dfac696bd9c8376e
treeeff05d4c9ce53d4ddb1f058cd2e77c4f87c2c9ae
parente7c9de6617e6a51e6502920c5b3e5a41a0bf6973
net: phy: Move fixed link code to separate routine

This patch moves fixed-link functionality code to a separate
routine inorder to make it more modular and cleaner.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/phy.c