Commit 7cc01f63 authored by Michael Auchter's avatar Michael Auchter Committed by Linus Walleij

gpio: bt8xx: fix release of managed resources

These resources are managed by devres, and should not be explicitly
released.
Signed-off-by: default avatarMichael Auchter <a@phire.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 1b11a9b9
......@@ -241,9 +241,6 @@ static void bt8xxgpio_remove(struct pci_dev *pdev)
bgwrite(~0x0, BT848_INT_STAT);
bgwrite(0x0, BT848_GPIO_OUT_EN);
iounmap(bg->mmio);
release_mem_region(pci_resource_start(pdev, 0),
pci_resource_len(pdev, 0));
pci_disable_device(pdev);
}
......
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