]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
DMA-API: net: sfc/efx.c: 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:19 +0000 (21:02 +0100)
commit9663dedafa302bb7fd511f9ae75d9ce33865477e
tree842de392a3da79dc294064c778edd4777787eb77
parent9931a26ea7fa25b02547c2a15f4aa80f538197e2
DMA-API: net: sfc/efx.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().

Acked-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/net/ethernet/sfc/efx.c