spi: davinci: Use dma_request_chan() for requesting DMA channel
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 29 Apr 2016 13:10:22 +0000 (16:10 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 29 Apr 2016 17:15:15 +0000 (18:15 +0100)
commitfe5fd2540947a6c584e70f1249007dd636e62d78
tree9f41d0ed04470586ad88ddc0cbed8764e33dfa55
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
spi: davinci: 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-davinci.c