Commit 391962f6 authored by Sachin Kamat's avatar Sachin Kamat Committed by Tomi Valkeinen

video: p9100: Remove redundant dev_set_drvdata

Driver core sets driver data to NULL upon failure or remove.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 38710d40
...@@ -339,8 +339,6 @@ static int p9100_remove(struct platform_device *op) ...@@ -339,8 +339,6 @@ static int p9100_remove(struct platform_device *op)
framebuffer_release(info); framebuffer_release(info);
dev_set_drvdata(&op->dev, NULL);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment