scsi: mpt3sas: switch to generic DMA API
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Oct 2018 07:35:25 +0000 (09:35 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 18 Oct 2018 01:58:52 +0000 (21:58 -0400)
commit1c2048bdc3f4ff3337613c27519cf608916e95a9
tree8d2e14e86084ed1cd6a88db1227fbf3c1a58746d
parent60ee6529511601e9a8660627e7ef9f8c8edaef0c
scsi: mpt3sas: switch to generic DMA API

Switch from the legacy PCI DMA API to the generic DMA API.

Also simplify setting the DMA mask a bit.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c
drivers/scsi/mpt3sas/mpt3sas_ctl.c
drivers/scsi/mpt3sas/mpt3sas_transport.c