Skip to content

Commit

Permalink
video: tcx: 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 cb643df commit 3e3d222
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/video/tcx.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,6 @@ static int tcx_remove(struct platform_device *op)

framebuffer_release(info);

dev_set_drvdata(&op->dev, NULL);

return 0;
}

Expand Down

0 comments on commit 3e3d222

Please sign in to comment.