diff options
Diffstat (limited to 'drivers/pps/clients/pps-gpio.c')
-rw-r--r-- | drivers/pps/clients/pps-gpio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pps/clients/pps-gpio.c b/drivers/pps/clients/pps-gpio.c index eae0eda9ff39..9966124ad988 100644 --- a/drivers/pps/clients/pps-gpio.c +++ b/drivers/pps/clients/pps-gpio.c | |||
@@ -184,7 +184,6 @@ static int pps_gpio_remove(struct platform_device *pdev) | |||
184 | { | 184 | { |
185 | struct pps_gpio_device_data *data = platform_get_drvdata(pdev); | 185 | struct pps_gpio_device_data *data = platform_get_drvdata(pdev); |
186 | 186 | ||
187 | platform_set_drvdata(pdev, NULL); | ||
188 | pps_unregister_source(data->pps); | 187 | pps_unregister_source(data->pps); |
189 | dev_info(&pdev->dev, "removed IRQ %d as PPS source\n", data->irq); | 188 | dev_info(&pdev->dev, "removed IRQ %d as PPS source\n", data->irq); |
190 | return 0; | 189 | return 0; |