|
@@ -5081,7 +5081,6 @@ err_out_free_regions:
|
|
err_out_disable:
|
|
err_out_disable:
|
|
pci_disable_device(pdev);
|
|
pci_disable_device(pdev);
|
|
err_out:
|
|
err_out:
|
|
- pci_set_drvdata(pdev, NULL);
|
|
|
|
return err;
|
|
return err;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -5124,8 +5123,6 @@ static void sky2_remove(struct pci_dev *pdev)
|
|
|
|
|
|
iounmap(hw->regs);
|
|
iounmap(hw->regs);
|
|
kfree(hw);
|
|
kfree(hw);
|
|
-
|
|
|
|
- pci_set_drvdata(pdev, NULL);
|
|
|
|
}
|
|
}
|
|
|
|
|
|
static int sky2_suspend(struct device *dev)
|
|
static int sky2_suspend(struct device *dev)
|