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:
5fb4bae
)
video: cg14: Remove redundant dev_set_drvdata
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 20 Sep 2013 06:32:16 +0000
(12:02 +0530)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Thu, 26 Sep 2013 10:49:23 +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/cg14.c
patch
|
blob
|
history
diff --git
a/drivers/video/cg14.c
b/drivers/video/cg14.c
index ed3b8891e0068e25cf0ba7a22b416536b8ff91ee..9626488a69c53762902caca5cee237e1ecf197bd 100644
(file)
--- a/
drivers/video/cg14.c
+++ b/
drivers/video/cg14.c
@@
-583,8
+583,6
@@
static int cg14_remove(struct platform_device *op)
framebuffer_release(info);
- dev_set_drvdata(&op->dev, NULL);
-
return 0;
}