commit | 27755ff88c0ecbca46bbba1202766c0ce54a3af2 | [log] [tgz] |
---|---|---|
author | Ioana Ciornei <ioana.ciornei@nxp.com> | Tue May 28 20:38:11 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed May 29 21:48:53 2019 -0700 |
tree | 372de586b71d947175b71968e6a7df4bdd0d77d4 | |
parent | c920f745f45d4610e08943690301b8055fb5e834 [diff] |
net: phylink: Add phylink_mac_link_{up, down} wrapper functions This is a cosmetic patch that reduces the clutter in phylink_resolve around calling the .mac_link_up/.mac_link_down driver callbacks. In a further patch this logic will be extended to emit notifications in case a net device does not exist. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>