aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/cg14.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 02:32:16 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 06:49:23 -0400
commitb3a4f58dbdcf51587d6a5429066a8d2e7582380d (patch)
tree06c148ae0c9d0bdd033a89cba7f923e97569a4a9 /drivers/video/cg14.c
parent5fb4baeab614a97d656d1049829a05cc4ae95875 (diff)
video: cg14: Remove redundant dev_set_drvdata
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/cg14.c')
-rw-r--r--drivers/video/cg14.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/cg14.c b/drivers/video/cg14.c
index ed3b8891e006..9626488a69c5 100644
--- a/drivers/video/cg14.c
+++ b/drivers/video/cg14.c
@@ -583,8 +583,6 @@ static int cg14_remove(struct platform_device *op)
583 583
584 framebuffer_release(info); 584 framebuffer_release(info);
585 585
586 dev_set_drvdata(&op->dev, NULL);
587
588 return 0; 586 return 0;
589} 587}
590 588