]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
lpfc: Use pci_(request|release)_mem_regions
authorJohannes Thumshirn <jthumshirn@suse.de>
Tue, 7 Jun 2016 07:44:03 +0000 (09:44 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 21 Jun 2016 22:10:15 +0000 (17:10 -0500)
commite0c0483c22e567f5d105046f745c033f28a2f0b0
tree42c530fe61b3ff232dd3f34fcbc2d5ae93359945
parenta1f447b35b7226f9c5f5ebe5697ec691f8dc8257
lpfc: Use pci_(request|release)_mem_regions

Now that we do have pci_request_mem_regions() and pci_release_mem_regions()
at hand, use it in the lpfc driver.

Suggested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Dick Kennedy <dick.kennedy@broadcom.com>
CC: James Smart <james.smart@avagotech.com>
CC: James E.J. Bottomley <jejb@linux.vnet.ibm.com>
CC: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_init.c