1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00
This commit is contained in:
Ralph Metzler 2015-12-21 13:48:44 +01:00 committed by mvoelkel
parent 9ab1b7f533
commit a8ed36fef2

View File

@ -84,7 +84,7 @@ static void __devexit ddb_remove(struct pci_dev *pdev)
ddb_buffers_free(dev);
ddb_unmap(dev);
pci_set_drvdata(pdev, 0);
pci_set_drvdata(pdev, NULL);
pci_disable_device(pdev);
}
@ -246,7 +246,7 @@ fail:
pr_err("fail\n");
ddb_unmap(dev);
pci_set_drvdata(pdev, 0);
pci_set_drvdata(pdev, NULL);
pci_disable_device(pdev);
return -1;
}