OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gpio: bt8xx: fix release of managed resources
[sagit-ice-cold/kernel_xiaomi_msm8998.git]
/
drivers
/
gpio
/
gpio-bt8xx.c
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);
}