diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 08:32:19 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-26 12:49:24 +0200 |
commit | 38710d409b30730df7e2614e959b0061a7412250 (patch) | |
tree | 5b736ca2fd156415cfa616ac840a6652ebab29ec | |
parent | video: cg6: Remove redundant dev_set_drvdata (diff) | |
download | linux-38710d409b30730df7e2614e959b0061a7412250.tar.xz linux-38710d409b30730df7e2614e959b0061a7412250.zip |
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>
-rw-r--r-- | drivers/video/ffb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/ffb.c b/drivers/video/ffb.c index 6d2744794dd1..4c4ffa61ae26 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; } |