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)
commit052d0efada8ccfccd924059b75f5fb119cd10f9a
tree3df33431f38270f2411d6ff84e23dfd88a71f677
parent4886c399da70d5f8a4016c2213850dce6cac88c5
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