diff --git a/drivers/mtd/devices/elm.c b/drivers/mtd/devices/elm.c index fc8ad9f13910c5ce06361d32c0c16a2c1165254d..4fab47a4a139bc3d86a085af0b37498ce85e0e77 100644 --- a/drivers/mtd/devices/elm.c +++ b/drivers/mtd/devices/elm.c @@ -381,7 +381,6 @@ static int elm_remove(struct platform_device *pdev) { pm_runtime_put_sync(&pdev->dev); pm_runtime_disable(&pdev->dev); - platform_set_drvdata(pdev, NULL); return 0; }