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)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 26 Apr 2013 12:42:20 +0000 (08:42 -0400)
commitc380aafb77b7435d010698fe3ca6d3e1cd745fde
tree2d1b100c656de9351979ef5eaa97630fde208f58
parent222b048cb288ecfd4ea63ff89d670f1298416983
mwifiex: Use pci_release_region() instead of a pci_release_regions()

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

Cc: <stable@vger.kernel.org> # 3.2+
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>
drivers/net/wireless/mwifiex/pcie.c