diff options
author | Nogah Frankel <nogahf@mellanox.com> | 2016-11-25 10:33:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-25 21:22:14 -0500 |
commit | 4544913ed79275ce6a1cd98baa7edbf018c5242a (patch) | |
tree | 7f3162d08f9cc4c72fd4e670a2adfe86adc8a9e9 | |
parent | fb9012d93f3d8abc316ec06105a7e781c37e2696 (diff) |
mlxsw: spectrum: Use generic listener struct for events
Change the events to use the generic listener struct.
Merge the event list into the trap list, so the same functions will
handle both.
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>