]> git.baikalelectronics.ru Git - kernel.git/commit
spi: dw: Downgrade interrupt.h to irqreturn.h where appropriate
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 6 May 2020 15:30:21 +0000 (18:30 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 6 May 2020 17:11:32 +0000 (18:11 +0100)
commitbd717201b1c427e41476a85b50578be5e75291af
tree079f450dc89863128b08088a7399baf5cd528be8
parentd8e2a5afa334703cad2ff885cc15e4f18c3fc211
spi: dw: Downgrade interrupt.h to irqreturn.h where appropriate

spi-dw-mid.c along with spi-dw.h are direct users of irqreturn.h
and nothing else is being used from interrupt.h. So, switch them
to use the former instead of latter one.

While here, move the header under #ifdef CONFIG_SPI_DW_MID_DMA
in spi-dw-mid.c.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200506153025.21441-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mid.c
drivers/spi/spi-dw.h