net: ethernet: bgmac: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 19 Jun 2016 20:37:06 +0000 (22:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jun 2016 20:23:29 +0000 (16:23 -0400)
commit904632a224b2ea39920e526cdc93565aaf1fb43e
tree9d0d759dfed3c6e22e0a9a4caceac71a0370c699
parentb21fcb259313bcf7d4f73ecd5e44948995c8957c
net: ethernet: bgmac: use phy_ethtool_{get|set}_link_ksettings

There are two generics functions phy_ethtool_{get|set}_link_ksettings,
so we can use them instead of defining the same code in the driver.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c