staging: octeon-ethernet: spi: refactor spx block interrupt handling
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sat, 4 Apr 2015 19:51:13 +0000 (22:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 14:59:24 +0000 (16:59 +0200)
commit81f56d332050084dccdff61bbf819d97f28abe70
tree2b0cbbc77ec7abb9e713ffe2191eb3065bd65758
parent124bcc5e74fe4cc761d759dac8f8c041e1d3ad96
staging: octeon-ethernet: spi: refactor spx block interrupt handling

Code for spx1 and spx0 block are identical, move it into a function.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-spi.c