summaryrefslogtreecommitdiffstats
path: root/drivers/video/tcx.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 12:02:23 +0530
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 13:49:26 +0300
commit3e3d2225aef52112de7ecffd9ce611eac8a9766d (patch)
treed0c9d97fd9a2592b9d20654ba7cbbbaa6e4e4692 /drivers/video/tcx.c
parentcb643dfbbd1273886442e4a7465d06b7746b24fb (diff)
downloadlinux-3e3d2225aef52112de7ecffd9ce611eac8a9766d.tar.bz2
video: tcx: 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/tcx.c')
-rw-r--r--drivers/video/tcx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/tcx.c b/drivers/video/tcx.c
index c000852500aa..1f3a3271f3dd 100644
--- a/drivers/video/tcx.c
+++ b/drivers/video/tcx.c
@@ -498,8 +498,6 @@ static int tcx_remove(struct platform_device *op)
framebuffer_release(info);
- dev_set_drvdata(&op->dev, NULL);
-
return 0;
}