net: phy: xilinx_phy: Read phytype using property xlnx,phy-type
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Fri, 12 Jan 2018 07:14:54 +0000 (12:44 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 9 Apr 2018 10:14:51 +0000 (12:14 +0200)
commitc643c491b952d40d46224e788847b9f59ddcec04
treeb09f89d5c23404f9d6f592aea3d155e0e3d56d29
parent047f3bf8282f87a8cad2fc5b1fef569895cbd2dd
net: phy: xilinx_phy: Read phytype using property xlnx,phy-type

This patch reads phytype from property "xlnx,phy-type" instead
od simply looking for "phy-type". This is to be inline with
Linux and also fixes the issue of detecting it wrongly in
u-boot.

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