diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 02:32:17 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-26 06:49:23 -0400 |
commit | 3d2ae2dc9e58abd9a92e686231b17476a3ace2ce (patch) | |
tree | c89aa42fc5e642efbfc05cff60b91db0a523ad07 /drivers/video/cg3.c | |
parent | b3a4f58dbdcf51587d6a5429066a8d2e7582380d (diff) |
video: cg3: 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/cg3.c')
-rw-r--r-- | drivers/video/cg3.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/cg3.c b/drivers/video/cg3.c index 9f63507ded37..64a89d5747ed 100644 --- a/drivers/video/cg3.c +++ b/drivers/video/cg3.c | |||
@@ -446,8 +446,6 @@ static int cg3_remove(struct platform_device *op) | |||
446 | 446 | ||
447 | framebuffer_release(info); | 447 | framebuffer_release(info); |
448 | 448 | ||
449 | dev_set_drvdata(&op->dev, NULL); | ||
450 | |||
451 | return 0; | 449 | return 0; |
452 | } | 450 | } |
453 | 451 | ||