diff options
Diffstat (limited to 'drivers/gpio/gpio-bt8xx.c')
-rw-r--r-- | drivers/gpio/gpio-bt8xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-bt8xx.c b/drivers/gpio/gpio-bt8xx.c index 8369e71ebe4f..9dfe36fd8baf 100644 --- a/drivers/gpio/gpio-bt8xx.c +++ b/drivers/gpio/gpio-bt8xx.c | |||
@@ -228,7 +228,6 @@ static int bt8xxgpio_probe(struct pci_dev *dev, | |||
228 | err_release_mem: | 228 | err_release_mem: |
229 | release_mem_region(pci_resource_start(dev, 0), | 229 | release_mem_region(pci_resource_start(dev, 0), |
230 | pci_resource_len(dev, 0)); | 230 | pci_resource_len(dev, 0)); |
231 | pci_set_drvdata(dev, NULL); | ||
232 | err_disable: | 231 | err_disable: |
233 | pci_disable_device(dev); | 232 | pci_disable_device(dev); |
234 | err_freebg: | 233 | err_freebg: |
@@ -252,7 +251,6 @@ static void bt8xxgpio_remove(struct pci_dev *pdev) | |||
252 | pci_resource_len(pdev, 0)); | 251 | pci_resource_len(pdev, 0)); |
253 | pci_disable_device(pdev); | 252 | pci_disable_device(pdev); |
254 | 253 | ||
255 | pci_set_drvdata(pdev, NULL); | ||
256 | kfree(bg); | 254 | kfree(bg); |
257 | } | 255 | } |
258 | 256 | ||