diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 02:32:23 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-26 06:49:26 -0400 |
commit | 3e3d2225aef52112de7ecffd9ce611eac8a9766d (patch) | |
tree | d0c9d97fd9a2592b9d20654ba7cbbbaa6e4e4692 | |
parent | cb643dfbbd1273886442e4a7465d06b7746b24fb (diff) |
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>
-rw-r--r-- | drivers/video/tcx.c | 2 |
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) | |||
498 | 498 | ||
499 | framebuffer_release(info); | 499 | framebuffer_release(info); |
500 | 500 | ||
501 | dev_set_drvdata(&op->dev, NULL); | ||
502 | |||
503 | return 0; | 501 | return 0; |
504 | } | 502 | } |
505 | 503 | ||