aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 02:32:12 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 06:49:08 -0400
commit064f29e00ab17ee75ffe7bd60721284b5a3d5f35 (patch)
tree67ede834e646f99b0434232413e06c63f2a95f04
parent22b67c0ab2e7480cc4b5ad1ca59ab0e4e0967556 (diff)
video: leo: 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>
-rw-r--r--drivers/video/leo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/leo.c b/drivers/video/leo.c
index b17f5009a436..c0f61aa37696 100644
--- a/drivers/video/leo.c
+++ b/drivers/video/leo.c
@@ -648,8 +648,6 @@ static int leo_remove(struct platform_device *op)
648 648
649 framebuffer_release(info); 649 framebuffer_release(info);
650 650
651 dev_set_drvdata(&op->dev, NULL);
652
653 return 0; 651 return 0;
654} 652}
655 653