dect
/
linux-2.6
Archived
13
0
Fork 0

OMAP: DSS2: DSI: Remove extra iounmap in error path

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>
This commit is contained in:
Senthilvadivu Guruswamy 2010-10-07 13:28:04 +02:00 committed by Tomi Valkeinen
parent a0acb5574b
commit e66345297d
1 changed files with 0 additions and 1 deletions

View File

@ -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;