]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
DMA-API: net: emulex/benet: 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:03 +0000 (21:02 +0100)
commit4c15c243189d01509943e70896d575a2a69c3269
tree374bb70cd0a3a6611d213834991c6ff397689692
parent1bfa2c40ced07bae83839840be5143a7b09af714
DMA-API: net: emulex/benet: 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/net/ethernet/emulex/benet/be_main.c