]> git.baikalelectronics.ru Git - kernel.git/commit
ucc_geth: use the new fixed PHY helpers
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 22 May 2014 16:47:49 +0000 (09:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 May 2014 19:16:44 +0000 (15:16 -0400)
commit9d9b4f5134e6cc7eb79ce297645f66a9c00460b3
tree3b5db9f30e1bda49d9bdddf8950438f1d995988c
parent115017b85d13d8b97fc829ef0fc6627171ece7b2
ucc_geth: use the new fixed PHY helpers

of_phy_connect_fixed_link() is becoming obsolete, and also required
platform code to register the fixed PHYs at the specified addresses for
those to be usable. Get rid of it and use the new of_phy_is_fixed_link()
plus of_phy_register_fixed_link() helpers to transition over the new
scheme.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/ucc_geth.c