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