diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 12:02:19 +0530 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-26 13:49:24 +0300 |
commit | 38710d409b30730df7e2614e959b0061a7412250 (patch) | |
tree | 5b736ca2fd156415cfa616ac840a6652ebab29ec /drivers/video/ffb.c | |
parent | d2b800c0c99e9fbeabdf8b14adfcf6db2e6e0784 (diff) |
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.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; } |