DMA-API: net: broadcom/bnx2x: replace dma_set_mask()+dma_set_coherent_mask() with...
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 26 Jun 2013 19:02:30 +0000 (20:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Sep 2013 20:02:00 +0000 (21:02 +0100)
commit1bfa2c40ced07bae83839840be5143a7b09af714
treedf487e29ea73dd2eca5c230d00675de65b50f0ae
parent4011f9f76683b7f30965c960ea45500acc200880
DMA-API: net: broadcom/bnx2x: 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/broadcom/bnx2x/bnx2x_main.c