From: Sachin Kamat Date: Fri, 20 Sep 2013 06:32:20 +0000 (+0530) Subject: video: p9100: Remove redundant dev_set_drvdata X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=391962f6188849917028debfd6e5bd3a3bdf0f49;p=linux-beck.git video: p9100: Remove redundant dev_set_drvdata Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/p9100.c b/drivers/video/p9100.c index 4b23af6e5c28..367cea8f43f3 100644 --- a/drivers/video/p9100.c +++ b/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; }