diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 08:32:12 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-26 12:49:08 +0200 |
commit | 064f29e00ab17ee75ffe7bd60721284b5a3d5f35 (patch) | |
tree | 67ede834e646f99b0434232413e06c63f2a95f04 /drivers/video/leo.c | |
parent | video: grvga: Remove redundant dev_set_drvdata (diff) | |
download | linux-064f29e00ab17ee75ffe7bd60721284b5a3d5f35.tar.xz linux-064f29e00ab17ee75ffe7bd60721284b5a3d5f35.zip |
video: leo: 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/leo.c')
-rw-r--r-- | drivers/video/leo.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/leo.c b/drivers/video/leo.c index b17f5009a436..c0f61aa37696 100644 --- a/drivers/video/leo.c +++ b/drivers/video/leo.c @@ -648,8 +648,6 @@ static int leo_remove(struct platform_device *op) framebuffer_release(info); - dev_set_drvdata(&op->dev, NULL); - return 0; } |