spi: omap2-mcspi: Use dma_request_chan() for requesting DMA channel
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 29 Apr 2016 13:11:56 +0000 (16:11 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 29 Apr 2016 17:15:48 +0000 (18:15 +0100)
commitb085c6129a8cabdad9c625fae56d9d3f2977808e
tree03ef12d79af72aeaadf16339722eda4901a310b1
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
spi: omap2-mcspi: Use dma_request_chan() for requesting DMA channel

With the new dma_request_chan() the client driver does not need to look for
the DMA resource and it does not need to pass filter_fn anymore.
By switching to the new API the driver can now support deferred probing
against DMA.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-omap2-mcspi.c