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:
a0acb55
)
OMAP: DSS2: DSI: Remove extra iounmap in error path
author
Senthilvadivu Guruswamy
<svadivu@ti.com>
Thu, 7 Oct 2010 11:28:04 +0000
(13:28 +0200)
committer
Tomi Valkeinen
<tomi.valkeinen@nokia.com>
Fri, 22 Oct 2010 20:21:05 +0000
(23:21 +0300)
iounmap is already done in label err2: so extra iounmap in
the error handling path could be removed.
Signed-off-by: Senthilvadivu Guruswamy <svadivu@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
drivers/video/omap2/dss/dsi.c
patch
|
blob
|
history
diff --git
a/drivers/video/omap2/dss/dsi.c
b/drivers/video/omap2/dss/dsi.c
index b3fa3a7db911f40042dacc86fa025b42f6eabc1c..aa4f7a5fae29fca001d297d31982ae1f5b88f46c 100644
(file)
--- a/
drivers/video/omap2/dss/dsi.c
+++ b/
drivers/video/omap2/dss/dsi.c
@@
-3274,7
+3274,6
@@
int dsi_init(struct platform_device *pdev)
dsi.vdds_dsi_reg = dss_get_vdds_dsi();
if (IS_ERR(dsi.vdds_dsi_reg)) {
- iounmap(dsi.base);
DSSERR("can't get VDDS_DSI regulator\n");
r = PTR_ERR(dsi.vdds_dsi_reg);
goto err2;