summaryrefslogtreecommitdiff
path: root/drivers/video/cg14.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 10:32:16 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 14:49:23 +0400
commitb3a4f58dbdcf51587d6a5429066a8d2e7582380d (patch)
tree06c148ae0c9d0bdd033a89cba7f923e97569a4a9 /drivers/video/cg14.c
parent5fb4baeab614a97d656d1049829a05cc4ae95875 (diff)
downloadlinux-b3a4f58dbdcf51587d6a5429066a8d2e7582380d.tar.xz
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)
framebuffer_release(info);
- dev_set_drvdata(&op->dev, NULL);
-
return 0;
}