DMA-API: net: broadcom/b44: replace dma_set_mask()+dma_set_coherent_mask() with new...
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 26 Jun 2013 18:04:29 +0000 (19:04 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Sep 2013 20:01:50 +0000 (21:01 +0100)
commit4011f9f76683b7f30965c960ea45500acc200880
tree4175aac18bf49ca13922a25fea4d24d11b00e417
parent53567aa4e00399aa59339bba81b285a5b95f425c
DMA-API: net: broadcom/b44: 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/b44.c