aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/input/serio/pcips2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/serio/pcips2.c b/drivers/input/serio/pcips2.c
index 76f83836fd5a..13062f667e82 100644
--- a/drivers/input/serio/pcips2.c
+++ b/drivers/input/serio/pcips2.c
@@ -181,7 +181,6 @@ static void pcips2_remove(struct pci_dev *dev)
181 struct pcips2_data *ps2if = pci_get_drvdata(dev); 181 struct pcips2_data *ps2if = pci_get_drvdata(dev);
182 182
183 serio_unregister_port(ps2if->io); 183 serio_unregister_port(ps2if->io);
184 pci_set_drvdata(dev, NULL);
185 kfree(ps2if); 184 kfree(ps2if);
186 pci_release_regions(dev); 185 pci_release_regions(dev);
187 pci_disable_device(dev); 186 pci_disable_device(dev);