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:
3e3d222
)
video: xilinxfb: Remove redundant dev_set_drvdata
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 20 Sep 2013 06:32:24 +0000
(12:02 +0530)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Thu, 26 Sep 2013 10:49:27 +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/xilinxfb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/xilinxfb.c
b/drivers/video/xilinxfb.c
index 84c664ea8eb9d014e101f3d22f614352cde306ef..0e1dd3380a1e51effe34ebdbc6b93068089362ee 100644
(file)
--- a/
drivers/video/xilinxfb.c
+++ b/
drivers/video/xilinxfb.c
@@
-369,7
+369,6
@@
err_fbmem:
err_region:
kfree(drvdata);
- dev_set_drvdata(dev, NULL);
return rc;
}
@@
-404,7
+403,6
@@
static int xilinxfb_release(struct device *dev)
#endif
kfree(drvdata);
- dev_set_drvdata(dev, NULL);
return 0;
}