summaryrefslogtreecommitdiffstats
path: root/drivers/video/bw2.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 08:32:15 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 12:49:22 +0200
commit5fb4baeab614a97d656d1049829a05cc4ae95875 (patch)
treecb4def61682163e6e23e4e196a75816e18d7bb80 /drivers/video/bw2.c
parentvideo: amifb: Remove redundant dev_set_drvdata (diff)
downloadlinux-5fb4baeab614a97d656d1049829a05cc4ae95875.tar.xz
linux-5fb4baeab614a97d656d1049829a05cc4ae95875.zip
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>
Diffstat (limited to '')
-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;
}