diff options
author | Vivien Didelot <vivien.didelot@gmail.com> | 2019-08-31 16:18:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-01 12:16:38 -0700 |
commit | 45de77ff8286156f78ac2beef03f6088bb3e451b (patch) | |
tree | 4ed06a60199887ca6303fe3acd5d0fcf76af5bde /drivers/net/wan/cosa.h | |
parent | 907b9b9fcaef7fb193105d9d61cd795b38ee2530 (diff) |
net: dsa: mv88e6xxx: centralize SERDES IRQ handling
The .serdes_irq_setup are all following the same steps: get the SERDES
lane, get the IRQ mapping, request the IRQ, then enable it. So do
the .serdes_irq_free implementations: get the SERDES lane, disable
the IRQ, then free it.
This patch removes these operations in favor of generic functions.
Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/cosa.h')
0 files changed, 0 insertions, 0 deletions