Vivien Didelot 6158eaa7a7 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>
2017-10-18 12:24:33 +01:00
..
2017-04-12 22:02:40 +02:00
2017-08-09 22:43:50 -07:00
2017-10-18 12:24:33 +01:00
2017-10-16 21:26:40 +01:00
2017-09-26 09:54:06 -07:00
2017-10-01 22:35:07 -07:00
2017-08-29 15:16:52 -07:00
2017-10-16 21:28:36 +01:00
2017-10-05 18:44:17 -07:00
2017-08-03 09:13:51 -07:00
2017-08-29 15:16:52 -07:00
2017-08-16 11:27:52 -07:00