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