Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966454AbcLWKoz (ORCPT ); Fri, 23 Dec 2016 05:44:55 -0500 Received: from mga05.intel.com ([192.55.52.43]:44893 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762301AbcLWKox (ORCPT ); Fri, 23 Dec 2016 05:44:53 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,393,1477983600"; d="scan'208";a="206084145" Date: Fri, 23 Dec 2016 12:44:49 +0200 From: Mika Westerberg To: Arvind Yadav Cc: jarkko.nikula@linux.intel.com, wsa@the-dreams.de, andriy.shevchenko@linux.intel.com, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [v1] i2c: busses: i2c-designware-pcidrv:- Unmap region obtained by pcim_iomap_regions Message-ID: <20161223104449.GV1460@lahna.fi.intel.com> References: <1482487893-17589-1-git-send-email-arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1482487893-17589-1-git-send-email-arvind.yadav.cs@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 251 Lines: 5 On Fri, Dec 23, 2016 at 03:41:33PM +0530, Arvind Yadav wrote: > Release IO memory mapping, if i2c_dw_pci_probe is not successful. Point of pcim_iomap_regions() is that the regions are released automatically. So there is no need for explicit release.