Messages in this thread | | | Subject | Re: [v1] i2c: busses: i2c-designware-pcidrv:- Unmap region obtained by pcim_iomap_regions | From | Jarkko Nikula <> | Date | Fri, 23 Dec 2016 13:27:51 +0200 |
| |
On 12/23/2016 12:44 PM, Mika Westerberg wrote: > 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. > Please see commit 76cf3fc844a4 ("i2c-designware-pci: use managed functions pcim_* and devm_*") how it simplified error handling here.
-- Jarkko
| |