]> git.baikalelectronics.ru Git - kernel.git/commit
DMA-API: block: nvme-core: replace dma_set_mask()+dma_set_coherent_mask() with new...
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 26 Jun 2013 22:49:11 +0000 (23:49 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Sep 2013 20:02:24 +0000 (21:02 +0100)
commit4464d4e133fcdd629b5d037983da2085dc989a54
tree3df33431f38270f2411d6ff84e23dfd88a71f677
parente6c2fee714782130753bf60ba3e159b010364f8b
DMA-API: block: nvme-core: replace dma_set_mask()+dma_set_coherent_mask() with new helper

Replace the following sequence:

dma_set_mask(dev, mask);
dma_set_coherent_mask(dev, mask);

with a call to the new helper dma_set_mask_and_coherent().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/block/nvme-core.c