diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 10:32:20 +0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-26 14:49:25 +0400 |
commit | 391962f6188849917028debfd6e5bd3a3bdf0f49 (patch) | |
tree | e6d6c349fc7252b763fe06c1c6d7d83b1a3a0714 /drivers/video/p9100.c | |
parent | 38710d409b30730df7e2614e959b0061a7412250 (diff) | |
download | linux-391962f6188849917028debfd6e5bd3a3bdf0f49.tar.xz |
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>
Diffstat (limited to 'drivers/video/p9100.c')
-rw-r--r-- | drivers/video/p9100.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; } |