gpio: bt8xx: fix release of managed resources
Subsystems (2)
PATCH 1/1 gpio: bt8xx: fix release of managed resources
These resources are managed by devres, and should not be explicitly released.
Signed-off-by Michael Auchter <[email protected]>
--- drivers/gpio/gpio-bt8xx.c | 3 --- 1 file changed, 3 deletions(-)
drivers/gpio/gpio-bt8xx.c +0 -3
@@ -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); }
Signature · 1 line
1.8.5.5
Quoted 4 lines · Michael Auchter
These resources are managed by devres, and should not be explicitly released.
Signed-off-by Michael Auchter <[email protected]>
Patch applied for fixes.
Yours,
Linus Walleij