Commit 66f070ba authored by Leann Ogasawara's avatar Leann Ogasawara Committed by Linus Torvalds

[PATCH] PCI hotplug: pcihp_zt5550.c ioremap/iounmap audit

insert missing iounmap()
parent 68e0f3a0
...@@ -133,6 +133,8 @@ static int zt5550_hc_cleanup(void) ...@@ -133,6 +133,8 @@ static int zt5550_hc_cleanup(void)
{ {
if(!hc_dev) if(!hc_dev)
return -ENODEV; return -ENODEV;
iounmap(hc_registers);
release_mem_region(pci_resource_start(hc_dev, 1), release_mem_region(pci_resource_start(hc_dev, 1),
pci_resource_len(hc_dev, 1)); pci_resource_len(hc_dev, 1));
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment