summaryrefslogtreecommitdiff
path: root/drivers/video/leo.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 12:02:12 +0530
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 13:49:08 +0300
commit064f29e00ab17ee75ffe7bd60721284b5a3d5f35 (patch)
tree67ede834e646f99b0434232413e06c63f2a95f04 /drivers/video/leo.c
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>
Diffstat (limited to 'drivers/video/leo.c')
-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)
framebuffer_release(info);
- dev_set_drvdata(&op->dev, NULL);
-
return 0;
}