summaryrefslogtreecommitdiff
path: root/drivers/video/mmp/fb/mmpfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/mmp/fb/mmpfb.c')
-rw-r--r--drivers/video/mmp/fb/mmpfb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/mmp/fb/mmpfb.c b/drivers/video/mmp/fb/mmpfb.c
index 6d1fa96c5cc3..4ab95b8daed3 100644
--- a/drivers/video/mmp/fb/mmpfb.c
+++ b/drivers/video/mmp/fb/mmpfb.c
@@ -659,7 +659,6 @@ failed_destroy_mutex:
mutex_destroy(&fbi->access_ok);
failed:
dev_err(fbi->dev, "mmp-fb: frame buffer device init failed\n");
- platform_set_drvdata(pdev, NULL);
framebuffer_release(info);