diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 02:32:18 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-26 06:49:24 -0400 |
commit | d2b800c0c99e9fbeabdf8b14adfcf6db2e6e0784 (patch) | |
tree | 752f6ccfa5d8fb315dac719d3346c9d5c9e212f0 /drivers/video/cg6.c | |
parent | 3d2ae2dc9e58abd9a92e686231b17476a3ace2ce (diff) |
video: cg6: 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/cg6.c')
-rw-r--r-- | drivers/video/cg6.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/cg6.c b/drivers/video/cg6.c index 3545decc7485..f070ec3b0f0a 100644 --- a/drivers/video/cg6.c +++ b/drivers/video/cg6.c | |||
@@ -839,8 +839,6 @@ static int cg6_remove(struct platform_device *op) | |||
839 | 839 | ||
840 | framebuffer_release(info); | 840 | framebuffer_release(info); |
841 | 841 | ||
842 | dev_set_drvdata(&op->dev, NULL); | ||
843 | |||
844 | return 0; | 842 | return 0; |
845 | } | 843 | } |
846 | 844 | ||