Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i2c: rcar: use dma_request_chan()

New drivers should not use dma_request_slave_channel_reason() but
dma_request_chan(). The former is a macro to the later so this change do
not effect the driver in any way.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

authored by

Niklas Söderlund and committed by
Wolfram Sang
6aabf9d0 ea8ea737

+1 -1
+1 -1
drivers/i2c/busses/i2c-rcar.c
··· 623 623 char *chan_name = dir == DMA_MEM_TO_DEV ? "tx" : "rx"; 624 624 int ret; 625 625 626 - chan = dma_request_slave_channel_reason(dev, chan_name); 626 + chan = dma_request_chan(dev, chan_name); 627 627 if (IS_ERR(chan)) { 628 628 ret = PTR_ERR(chan); 629 629 dev_dbg(dev, "request_channel failed for %s (%d)\n",