projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3a4f58
)
video: cg3: Remove redundant dev_set_drvdata
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 20 Sep 2013 06:32:17 +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/cg3.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/cg3.c
b/drivers/video/cg3.c
index 9f63507ded373621cfa74524fd0f27ddd205cacc..64a89d5747ed1db8f5c36aa01d6b2b31a6c0101c 100644
(file)
--- a/
drivers/video/cg3.c
+++ b/
drivers/video/cg3.c
@@
-446,8
+446,6
@@
static int cg3_remove(struct platform_device *op)
framebuffer_release(info);
- dev_set_drvdata(&op->dev, NULL);
-
return 0;
}