]> git.karo-electronics.de Git - linux-beck.git/commit
mlxsw: spectrum: Use generic listener struct for events
authorNogah Frankel <nogahf@mellanox.com>
Fri, 25 Nov 2016 09:33:35 +0000 (10:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2016 02:22:14 +0000 (21:22 -0500)
commit4544913ed79275ce6a1cd98baa7edbf018c5242a
tree7f3162d08f9cc4c72fd4e670a2adfe86adc8a9e9
parentfb9012d93f3d8abc316ec06105a7e781c37e2696
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>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c