Skip to content

Commit 3e3d222

Browse files
Sachin Kamattomba
authored andcommitted
video: tcx: Remove redundant dev_set_drvdata
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
1 parent cb643df commit 3e3d222

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/video/tcx.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,6 @@ static int tcx_remove(struct platform_device *op)
498498

499499
framebuffer_release(info);
500500

501-
dev_set_drvdata(&op->dev, NULL);
502-
503501
return 0;
504502
}
505503

0 commit comments

Comments
 (0)