Christoph Hellwig 1335d6fd65 fore200e: devirtualize dma alloc calls
There is no need for an indirection before calling the dma alloc
routines now that we store a struct device in struct fore200e.

Also remove the pointless GFP_ATOMIC for the sbus case, and fix the
up the error handling by removing the 0 dma_addr test - some iommus
can return 0 as a perfectly valid bus address.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-10-10 22:38:50 -07:00
..
2017-08-09 22:43:50 -07:00
2017-08-09 22:43:50 -07:00
2017-11-30 09:26:32 -05:00
2015-01-18 00:28:41 -05:00
2018-06-30 18:44:38 +09:00