mwifiex: Use pci_release_region() instead of a pci_release_regions()
authorYogesh Ashok Powar <yogeshp@marvell.com>
Tue, 23 Apr 2013 23:49:47 +0000 (16:49 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 13 May 2013 14:02:27 +0000 (15:02 +0100)
commit60969a27662323da45acbbd10cfb9699fed7cd42
tree77266af6f55de013d6618353d422fa329dc7fbda
parentc17c749a528d18d173fcf071243bc2e4204d65d5
mwifiex: Use pci_release_region() instead of a pci_release_regions()

commit c380aafb77b7435d010698fe3ca6d3e1cd745fde upstream.

PCI regions are associated with the device using
pci_request_region() call. Hence use pci_release_region()
instead of pci_release_regions().

Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/wireless/mwifiex/pcie.c