Skip to content

Commit

Permalink
video: cg6: Remove redundant dev_set_drvdata
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Tomi Valkeinen committed Sep 26, 2013
1 parent 3d2ae2d commit d2b800c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/video/cg6.c
Original file line number Diff line number Diff line change
Expand Up @@ -839,8 +839,6 @@ static int cg6_remove(struct platform_device *op)

framebuffer_release(info);

dev_set_drvdata(&op->dev, NULL);

return 0;
}

Expand Down

0 comments on commit d2b800c

Please sign in to comment.