diff options
| author | Damien Le Moal <dlemoal@kernel.org> | 2023-09-12 02:27:40 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-09-22 04:39:46 +0300 |
| commit | 07ca8c1ad0618e1c7e399a204928b3f2f9778eca (patch) | |
| tree | f5d09664a7a437667c038989152853c0d3619566 /drivers/fpga/fpga-mgr.c | |
| parent | 80bb942b35c7277a1276b6a52a9478f55feb8b03 (diff) | |
| download | linux-07ca8c1ad0618e1c7e399a204928b3f2f9778eca.tar.xz | |
scsi: pm8001: Introduce pm8001_handle_irq()
Factor out the common code of pm8001_interrupt_handler_msix and of
pm8001_interrupt_handler_intx() into the new function pm8001_handle_irq()
and use this new helper in these two functions to simplify the code.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230911232745.325149-6-dlemoal@kernel.org
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
