From patchwork Thu Oct 7 11:28:04 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Senthilvadivu Guruswamy X-Patchwork-Id: 238041 X-Patchwork-Delegate: tomi.valkeinen@nokia.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o97BSGQo001458 for ; Thu, 7 Oct 2010 11:28:16 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760330Ab0JGL2O (ORCPT ); Thu, 7 Oct 2010 07:28:14 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:34282 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760320Ab0JGL2O (ORCPT ); Thu, 7 Oct 2010 07:28:14 -0400 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id o97BS6Au005467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Oct 2010 06:28:08 -0500 Received: from linfarm476.india.ti.com (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id o97BS5nW020160; Thu, 7 Oct 2010 16:58:05 +0530 (IST) Received: from linfarm476.india.ti.com (localhost [127.0.0.1]) by linfarm476.india.ti.com (8.12.11/8.12.11) with ESMTP id o97BS5TZ003680; Thu, 7 Oct 2010 16:58:05 +0530 Received: (from a0876342@localhost) by linfarm476.india.ti.com (8.12.11/8.12.11/Submit) id o97BS4Ov003678; Thu, 7 Oct 2010 16:58:04 +0530 From: Guruswamy Senthilvadivu To: tomi.valkeinen@nokia.com, linux-omap@vger.kernel.org Cc: Senthilvadivu Guruswamy Subject: [PATCH] OMAP3: DSS2: DSI: Remove extra iounmap in error path Date: Thu, 7 Oct 2010 16:58:04 +0530 Message-Id: <1286450884-3597-1-git-send-email-svadivu@ti.com> X-Mailer: git-send-email 1.5.6.6 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 07 Oct 2010 11:28:16 +0000 (UTC) diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index b3fa3a7..aa4f7a5 100644 --- 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;