summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 08:32:16 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 12:49:23 +0200
commitb3a4f58dbdcf51587d6a5429066a8d2e7582380d (patch)
tree06c148ae0c9d0bdd033a89cba7f923e97569a4a9
parentvideo: bw2: Remove redundant dev_set_drvdata (diff)
downloadlinux-b3a4f58dbdcf51587d6a5429066a8d2e7582380d.tar.xz
linux-b3a4f58dbdcf51587d6a5429066a8d2e7582380d.zip
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>
-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;
}