drivers: net: zynq_gem: fix phy dt node setting
authorGrygorii Strashko <grygorii.strashko@ti.com>
Thu, 5 Jul 2018 17:02:52 +0000 (12:02 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 26 Jul 2018 19:08:23 +0000 (14:08 -0500)
commit41080e180c2249a0da586b3e79f15ae7515b8a18
tree2d0788e2f0029adb965f829230754828912d52e9
parentd4bb98170006ed98d651fabefab1c0c2b6aac234
drivers: net: zynq_gem: fix phy dt node setting

Now zynq_gem driver will overwrite UCLASS_ETH node when PHY is
connected and configured which is not correct.
Use struct phydev->node instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Tested-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
drivers/net/zynq_gem.c