]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
spi: imx: drop unncessary dma_is_inited variable
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 24 Feb 2016 08:20:28 +0000 (09:20 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 26 Feb 2016 02:04:14 +0000 (11:04 +0900)
commit882f329f31cb7317811fe084e0b0642954649bf5
tree368b3b8c9d92d01e86b2d6073d4a07d2c8b7b266
parent2b0fd069ec159d8234c730855eb892104ae2edc9
spi: imx: drop unncessary dma_is_inited variable

There's no need for an extra dma_is_inited variable when we can
equally well check for the existence of a DMA channel.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-imx.c