Merge tag 'fcoe' into for-linus
[cascardo/linux.git] / drivers / gpio / gpio-lynxpoint.c
index 86c17de..761c470 100644 (file)
@@ -447,7 +447,6 @@ static int lp_gpio_remove(struct platform_device *pdev)
        err = gpiochip_remove(&lg->chip);
        if (err)
                dev_warn(&pdev->dev, "failed to remove gpio_chip.\n");
-       platform_set_drvdata(pdev, NULL);
        return 0;
 }