rtl818x: pci_iomap() should pair with pci_iounmap()
authorandrea merello <andrea.merello@gmail.com>
Tue, 18 Feb 2014 01:10:41 +0000 (02:10 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Feb 2014 19:08:27 +0000 (14:08 -0500)
commit0269da281599fba2bc8bed30953d5a3ff3b083e5
treef438cf7f223fb866ea13ab760a2c7732d366e067
parente74075a936a894b85ddf25b882ac813323aae4ef
rtl818x: pci_iomap() should pair with pci_iounmap()

Currently the driver uses pci_iomap() but iounmap() is called in
the error path

Change to use pci_iounmap() instead.

Reported-by: Huqiu Liu <liuhq11@mails.tsinghua.edu.cn>
Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8180/dev.c