projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38710d4
)
video: p9100: Remove redundant dev_set_drvdata
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 20 Sep 2013 06:32:20 +0000
(12:02 +0530)
committer
Tomi 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
patch
|
blob
|
history
diff --git
a/drivers/video/p9100.c
b/drivers/video/p9100.c
index 4b23af6e5c2890b41f47fd38a9e88ce2de3ebc9c..367cea8f43f3944301b26c51a4514b6269403106 100644
(file)
--- 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;
}