OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b11a9b
)
gpio: bt8xx: fix release of managed resources
author
Michael Auchter
<a@phire.org>
Wed, 27 Aug 2014 01:39:33 +0000
(
01:39
+0000)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 29 Aug 2014 12:31:43 +0000
(14:31 +0200)
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>
drivers/gpio/gpio-bt8xx.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-bt8xx.c
b/drivers/gpio/gpio-bt8xx.c
index
6557147
..
7e4c43c
100644
(file)
--- 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);
}