scsi: gdth: use generic DMA API
authorChristoph Hellwig <hch@lst.de>
Wed, 12 Dec 2018 07:41:27 +0000 (08:41 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 9 Jan 2019 02:58:35 +0000 (21:58 -0500)
commitbb327df8326eff8b12bfcca39b8e1f25f616b1c3
tree0d59730f044ae929e09bfc1b2410b4d9c7d65f47
parentd8e1e6add226e57fe467483d117e4b6113fe2e2e
scsi: gdth: use generic DMA API

Switch from the legacy PCI DMA API to the generic DMA API.  Also switch
to dma_map_single from pci_map_page in one case where this makes the code
simpler.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/gdth.c
drivers/scsi/gdth_proc.c