Re: [PATCH v3 1/3] net: phy: add phy_ethtool_{get|set}_link_ksettings

2016-05-09 Thread David Decotigny
On Mon, May 9, 2016 at 3:19 PM, Philippe Reynes wrote: > Ethtool callbacks {get|set}_link_ksettings are often the same, so > we add two generics functions phy_ethtool_{get|set}_link_ksettings > to avoid writing severals times the same function. > > Signed-off-by: Philippe Reynes > --- > drivers/

[PATCH v3 1/3] net: phy: add phy_ethtool_{get|set}_link_ksettings

2016-05-09 Thread Philippe Reynes
Ethtool callbacks {get|set}_link_ksettings are often the same, so we add two generics functions phy_ethtool_{get|set}_link_ksettings to avoid writing severals times the same function. Signed-off-by: Philippe Reynes --- drivers/net/phy/phy.c | 24 include/linux/phy.h