summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 10:32:20 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 14:49:25 +0400
commit391962f6188849917028debfd6e5bd3a3bdf0f49 (patch)
treee6d6c349fc7252b763fe06c1c6d7d83b1a3a0714
parent38710d409b30730df7e2614e959b0061a7412250 (diff)
downloadlinux-391962f6188849917028debfd6e5bd3a3bdf0f49.tar.xz
video: p9100: 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/p9100.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/p9100.c b/drivers/video/p9100.c
index 4b23af6e5c28..367cea8f43f3 100644
--- a/drivers/video/p9100.c
+++ b/drivers/video/p9100.c
@@ -339,8 +339,6 @@ static int p9100_remove(struct platform_device *op)
framebuffer_release(info);
- dev_set_drvdata(&op->dev, NULL);
-
return 0;
}