DMA-API: net: intel/e1000: 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:04 +0000 (21:02 +0100)
commit9931a26ea7fa25b02547c2a15f4aa80f538197e2
treebc5e66a6b9f9ae4a5940d30a73d040832e133edb
parent4c15c243189d01509943e70896d575a2a69c3269
DMA-API: net: intel/e1000: 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().

Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/net/ethernet/intel/e1000/e1000_main.c