[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1409103573-4082-1-git-send-email-a@phire.org>
Date: Wed, 27 Aug 2014 01:39:33 +0000
From: Michael Auchter <a@...re.org>
To: Michael Buesch <m@...s.ch>,
Linus Walleij <linus.walleij@...aro.org>,
Alexandre Courbot <gnurou@...il.com>,
linux-kernel@...r.kernel.org
Cc: Michael Auchter <a@...re.org>
Subject: [PATCH] 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@...re.org>
---
drivers/gpio/gpio-bt8xx.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/gpio/gpio-bt8xx.c b/drivers/gpio/gpio-bt8xx.c
index 6557147..7e4c43c 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);
}
--
1.8.5.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists