summaryrefslogtreecommitdiffstats
path: root/drivers/video/ffb.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 12:02:19 +0530
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 13:49:24 +0300
commit38710d409b30730df7e2614e959b0061a7412250 (patch)
tree5b736ca2fd156415cfa616ac840a6652ebab29ec /drivers/video/ffb.c
parentd2b800c0c99e9fbeabdf8b14adfcf6db2e6e0784 (diff)
downloadop-kernel-dev-38710d409b30730df7e2614e959b0061a7412250.zip
op-kernel-dev-38710d409b30730df7e2614e959b0061a7412250.tar.gz
video: ffb: 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/ffb.c')
-rw-r--r--drivers/video/ffb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/ffb.c b/drivers/video/ffb.c
index 6d27447..4c4ffa6 100644
--- a/drivers/video/ffb.c
+++ b/drivers/video/ffb.c
@@ -1035,8 +1035,6 @@ static int ffb_remove(struct platform_device *op)
framebuffer_release(info);
- dev_set_drvdata(&op->dev, NULL);
-
return 0;
}
OpenPOWER on IntegriCloud