]> git.baikalelectronics.ru Git - kernel.git/commit
GenWQE: Use pci_(request|release)_mem_regions
authorJohannes Thumshirn <jthumshirn@suse.de>
Tue, 7 Jun 2016 07:44:04 +0000 (09:44 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 21 Jun 2016 22:11:09 +0000 (17:11 -0500)
commit91f492dfeb558d73fc839f5885aab6ee7b89160b
tree76353bdca2cba90c127a9729d98b1c6325d6c7cb
parent70515eaaa17ac071a1edf050d8fcc7ba02728d0d
GenWQE: 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 genwqe driver.

[bhelgaas: fix build issues]
Suggested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
CC: Frank Haverkamp <haver@linux.vnet.ibm.com>
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/genwqe/card_base.c