summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorMichael Auchter <a@phire.org>2014-08-27 03:39:33 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-08-29 14:31:43 +0200
commit7cc01f630a967b25d9de200767b42177e4fa0bac (patch)
tree22ce0bd6f48f0841c13e08fc4cd78cc84daa42e0 /drivers/gpio
parentDocumentation: gpio: documentation for optional getters functions (diff)
downloadlinux-7cc01f630a967b25d9de200767b42177e4fa0bac.tar.xz
linux-7cc01f630a967b25d9de200767b42177e4fa0bac.zip
gpio: bt8xx: fix release of managed resources
These resources are managed by devres, and should not be explicitly released. Signed-off-by: Michael Auchter <a@phire.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-bt8xx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-bt8xx.c b/drivers/gpio/gpio-bt8xx.c
index 6557147d9331..7e4c43c18960 100644
--- a/drivers/gpio/gpio-bt8xx.c
+++ b/drivers/gpio/gpio-bt8xx.c
@@ -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);
}