commit | 85d5c9cd90d2b271d8498ee6362ad57e00a2af16 | [log] [tgz] |
---|---|---|
author | Nogah Frankel <nogahf@mellanox.com> | Fri Nov 25 10:33:37 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 25 21:22:14 2016 -0500 |
tree | 37cf7b640de027b69ec045d20d7bed09f1a556ae | |
parent | 6bf08b53ed84a256f5e789d278e4852006f8e387 [diff] |
mlxsw: switchib: Use generic listener struct for events Change the event handling in Switchib to be comptible with Spectrum and Switchx2. Use the generic listener struct for the events. Init and fini them by loop (and not by calling each event by its name). Signed-off-by: Nogah Frankel <nogahf@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>