]> git.baikalelectronics.ru Git - kernel.git/commit
spi/pxa2xx: convert to dma_request_slave_channel_compat()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 13 May 2013 10:45:10 +0000 (13:45 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 13 May 2013 13:59:00 +0000 (17:59 +0400)
commit8cf0cc63052cc658a6870073bbb5b51e91788b35
treed11714017ae5d73c3bb3ead41bf2a53ce735e85f
parent2a05990f2a42d9d0c76e0ce07018e94d370213ea
spi/pxa2xx: convert to dma_request_slave_channel_compat()

Now that we have these nice DMA API helper functions we can take advantage
of those instead of open-coding the channel/request line extraction from
ACPI. Use the _compat version which still allows passing the
channel/request line from platform data.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-pxa2xx-dma.c
drivers/spi/spi-pxa2xx.c