net: davinci_emac: Fix incomplete code for getting the phy from device tree
authorTony Lindgren <tony@atomide.com>
Thu, 15 Jan 2015 22:45:12 +0000 (14:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Jan 2015 06:00:03 +0000 (01:00 -0500)
commit1d82ffa6ba0f645d449c1b0489bb698a9a7301ea
tree49ea18203e994fd765008b408c4099538f7fc9f5
parent0f5372731dc13655da9edd282437a290eaa7c258
net: davinci_emac: Fix incomplete code for getting the phy from device tree

Looks like the phy_id is never set up beyond getting the phandle.
Note that we can remove the ifdef for phy_node as there is a stub
for of_phy_connec() if CONFIG_OF is not set.

Cc: Brian Hutchinson <b.hutchman@gmail.com>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_emac.c