summaryrefslogtreecommitdiffstats
path: root/drivers/video/p9100.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 12:02:20 +0530
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 13:49:25 +0300
commit391962f6188849917028debfd6e5bd3a3bdf0f49 (patch)
treee6d6c349fc7252b763fe06c1c6d7d83b1a3a0714 /drivers/video/p9100.c
parent38710d409b30730df7e2614e959b0061a7412250 (diff)
downloadop-kernel-dev-391962f6188849917028debfd6e5bd3a3bdf0f49.zip
op-kernel-dev-391962f6188849917028debfd6e5bd3a3bdf0f49.tar.gz
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>
Diffstat (limited to 'drivers/video/p9100.c')
-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 4b23af6..367cea8 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;
}
OpenPOWER on IntegriCloud