]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: davinci_emac: use phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Fri, 1 Jul 2016 22:02:35 +0000 (00:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jul 2016 18:51:11 +0000 (14:51 -0400)
commit1b115afbd2d731c25822b0a087981ade9b7c8199
treea2eca745cb4a6bdcac8709c95c5c725d1fb234e8
parentdc8f95c0b2dd4b62d551b8cf728f811857e84e36
net: ethernet: davinci_emac: 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/ti/davinci_emac.c