DMA-API: ppc: vio.c: replace dma_set_mask()+dma_set_coherent_mask() with new helper
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)
commit4886c399da70d5f8a4016c2213850dce6cac88c5
treec2acf6b80b546e715cf8e3c10683ba478d61d595
parentde71f988003a2e0b3d5b5a3519e9426053b5dda5
DMA-API: ppc: vio.c: 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>
arch/powerpc/kernel/vio.c