Skip to content

Commit

Permalink
video: leo: 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 22b67c0 commit 064f29e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/video/leo.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,6 @@ static int leo_remove(struct platform_device *op)

framebuffer_release(info);

dev_set_drvdata(&op->dev, NULL);

return 0;
}

Expand Down

0 comments on commit 064f29e

Please sign in to comment.