summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 12:02:15 +0530
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 13:49:22 +0300
commit5fb4baeab614a97d656d1049829a05cc4ae95875 (patch)
treecb4def61682163e6e23e4e196a75816e18d7bb80
parentbc4626fc87dcc53fc4e0880f818eb269326ac4fb (diff)
video: bw2: 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/bw2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/bw2.c b/drivers/video/bw2.c
index 60017fc634b5..bc123d6947a4 100644
--- a/drivers/video/bw2.c
+++ b/drivers/video/bw2.c
@@ -363,8 +363,6 @@ static int bw2_remove(struct platform_device *op)
framebuffer_release(info);
- dev_set_drvdata(&op->dev, NULL);
-
return 0;
}