Browse Source

video: p9100: 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 12 years ago
parent
commit
391962f618
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/video/p9100.c

+ 0 - 2
drivers/video/p9100.c

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