summaryrefslogtreecommitdiff
path: root/drivers/video/mmp/hw
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/mmp/hw')
-rw-r--r--drivers/video/mmp/hw/mmp_ctrl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/mmp/hw/mmp_ctrl.c b/drivers/video/mmp/hw/mmp_ctrl.c
index 4bd31b2af398..c46bf5a93d38 100644
--- a/drivers/video/mmp/hw/mmp_ctrl.c
+++ b/drivers/video/mmp/hw/mmp_ctrl.c
@@ -566,7 +566,6 @@ failed:
devm_kfree(ctrl->dev, ctrl);
}
- platform_set_drvdata(pdev, NULL);
dev_err(&pdev->dev, "device init failed\n");
return ret;