summaryrefslogtreecommitdiffstats
path: root/drivers/video/tcx.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 08:32:23 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 12:49:26 +0200
commit3e3d2225aef52112de7ecffd9ce611eac8a9766d (patch)
treed0c9d97fd9a2592b9d20654ba7cbbbaa6e4e4692 /drivers/video/tcx.c
parentvideo: sunxvr1000: Remove redundant dev_set_drvdata (diff)
downloadlinux-3e3d2225aef52112de7ecffd9ce611eac8a9766d.tar.xz
linux-3e3d2225aef52112de7ecffd9ce611eac8a9766d.zip
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;
}