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