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:
391962f
)
video: platinumfb: Remove redundant dev_set_drvdata
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 20 Sep 2013 06:32:21 +0000
(12:02 +0530)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Thu, 26 Sep 2013 10:49:25 +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/platinumfb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/platinumfb.c
b/drivers/video/platinumfb.c
index 3d86bac62d3e62214564bf1f336488d6ee819eeb..b644037dd5bc1385634d74aa65feaf415de57d9e 100644
(file)
--- a/
drivers/video/platinumfb.c
+++ b/
drivers/video/platinumfb.c
@@
-639,7
+639,6
@@
static int platinumfb_probe(struct platform_device* odev)
iounmap(pinfo->frame_buffer);
iounmap(pinfo->platinum_regs);
iounmap(pinfo->cmap_regs);
- dev_set_drvdata(&odev->dev, NULL);
framebuffer_release(info);
}