]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
video: p9100: Remove redundant dev_set_drvdata
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 20 Sep 2013 06:32:20 +0000 (12:02 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 26 Sep 2013 10:49:25 +0000 (13:49 +0300)
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>
drivers/video/p9100.c

index 4b23af6e5c2890b41f47fd38a9e88ce2de3ebc9c..367cea8f43f3944301b26c51a4514b6269403106 100644 (file)
@@ -339,8 +339,6 @@ static int p9100_remove(struct platform_device *op)
 
        framebuffer_release(info);
 
-       dev_set_drvdata(&op->dev, NULL);
-
        return 0;
 }