Browse Source

video: tcx: 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>
Sachin Kamat 11 years ago
parent
commit
3e3d2225ae
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/video/tcx.c

+ 0 - 2
drivers/video/tcx.c

@@ -498,8 +498,6 @@ static int tcx_remove(struct platform_device *op)
 
 	framebuffer_release(info);
 
-	dev_set_drvdata(&op->dev, NULL);
-
 	return 0;
 }