]> git.baikalelectronics.ru Git - kernel.git/commit
net: lantiq_etop.c: Use helper to find first phy
authorAndrew Lunn <andrew@lunn.ch>
Thu, 7 Jan 2016 20:55:51 +0000 (21:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Jan 2016 23:03:47 +0000 (18:03 -0500)
commit6ea4180cfaacbd2a2e772f776f04141f1a06fe9e
tree93f2566cea0128865d930dbbe543bc06e7d0021d
parentb0ee4af61b4eaf5485d7e7aea96c85ac763af20f
net: lantiq_etop.c: Use helper to find first phy

Make use of the helper to find the first phy device.
This also fixes the compile breakage.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/lantiq_etop.c