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
Signed-off-by: default avatarMichael Auchter <>
Signed-off-by: default avatarLinus Walleij <>
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);
release_mem_region(pci_resource_start(pdev, 0),
pci_resource_len(pdev, 0));
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