summaryrefslogtreecommitdiff
path: root/drivers/video/sunxvr1000.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 10:32:22 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 14:49:26 +0400
commitcb643dfbbd1273886442e4a7465d06b7746b24fb (patch)
tree7cb439f688012498b690f9b8888722743d559951 /drivers/video/sunxvr1000.c
parentcacb41361708ddf4c8cb8995c9f35f24ce28620f (diff)
downloadlinux-cb643dfbbd1273886442e4a7465d06b7746b24fb.tar.xz
video: sunxvr1000: 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/sunxvr1000.c')
-rw-r--r--drivers/video/sunxvr1000.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/sunxvr1000.c b/drivers/video/sunxvr1000.c
index cc6f48bba36b..58241b47a96d 100644
--- a/drivers/video/sunxvr1000.c
+++ b/drivers/video/sunxvr1000.c
@@ -186,8 +186,6 @@ static int gfb_remove(struct platform_device *op)
framebuffer_release(info);
- dev_set_drvdata(&op->dev, NULL);
-
return 0;
}