Messages in this thread | | | Date | Fri, 15 Jul 2016 16:44:25 -0700 (PDT) | Subject | Re: [PATCH 2/2] net: ethernet: ti: cpmac: use phy_ethtool_{get|set}_link_ksettings | From | David Miller <> |
| |
From: Philippe Reynes <tremyfr@gmail.com> Date: Fri, 15 Jul 2016 12:39:02 +0200
> 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. > > There was a check on CAP_NET_ADMIN in cpmac_set_settings, but this > check is already done in dev_ethtool, so no need to repeat it before > calling the generic function. > > Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Applied.
| |