|
@@ -969,7 +969,6 @@ static int lpc_ich_probe(struct pci_dev *dev,
|
|
if (!cell_added) {
|
|
if (!cell_added) {
|
|
dev_warn(&dev->dev, "No MFD cells added\n");
|
|
dev_warn(&dev->dev, "No MFD cells added\n");
|
|
lpc_ich_restore_config_space(dev);
|
|
lpc_ich_restore_config_space(dev);
|
|
- pci_set_drvdata(dev, NULL);
|
|
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -980,7 +979,6 @@ static void lpc_ich_remove(struct pci_dev *dev)
|
|
{
|
|
{
|
|
mfd_remove_devices(&dev->dev);
|
|
mfd_remove_devices(&dev->dev);
|
|
lpc_ich_restore_config_space(dev);
|
|
lpc_ich_restore_config_space(dev);
|
|
- pci_set_drvdata(dev, NULL);
|
|
|
|
}
|
|
}
|
|
|
|
|
|
static struct pci_driver lpc_ich_driver = {
|
|
static struct pci_driver lpc_ich_driver = {
|