Home
last modified time | relevance | path

Searched hist:"6158 eaa7a717b469b1b0c0ae6d79910737686279" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/dsa/
H A Dslave.cdiff 6158eaa7a717b469b1b0c0ae6d79910737686279 Mon Oct 16 10:12:14 CDT 2017 Vivien Didelot <vivien.didelot@savoirfairelinux.com> net: dsa: add slave notify helper

Both DSA slave create and destroy functions call call_dsa_notifiers with
respectively DSA_PORT_REGISTER and DSA_PORT_UNREGISTER and the same
dsa_notifier_register_info structure.

Wrap this in a dsa_slave_notify helper so prevent cluttering these
functions.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>