dmaengine: fsl-edma: move common IRQ handler to common.c
authorFrank Li <Frank.Li@nxp.com>
Mon, 21 Aug 2023 16:16:10 +0000 (12:16 -0400)
committerVinod Koul <vkoul@kernel.org>
Tue, 22 Aug 2023 14:41:02 +0000 (20:11 +0530)
commit79434f9b97361601e65e0f5576e9760fefebf19a
treeacca8ff7b429d777ab2e434f40b6750e78d17891
parentc26e611433aaa064691343c0168f4671eb5cfa42
dmaengine: fsl-edma: move common IRQ handler to common.c

Move the common part of IRQ handler from fsl-edma-main.c and
mcf-edma-main.c to fsl-edma-common.c. This eliminates redundant code, as
the both files contains mostly identical code.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20230821161617.2142561-6-Frank.Li@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-edma-common.c
drivers/dma/fsl-edma-common.h
drivers/dma/fsl-edma-main.c
drivers/dma/mcf-edma-main.c