Loading
iommu/omap: fix device leaks on probe_device()
Make sure to drop the references taken to the iommu platform devices when looking up their driver data during probe_device(). Note that the arch data device pointer added by commit 604629bc ("iommu/omap: add support for late attachment of iommu devices") has never been used. Remove it to underline that the references are not needed. Fixes: 9d5018de ("iommu/omap: Add support to program multiple iommus") Fixes: 7d682774 ("iommu/omap: Fix iommu archdata name for DT-based devices") Cc: stable@vger.kernel.org # 3.18 Cc: Suman Anna <s-anna@ti.com> Acked-by:Robin Murphy <robin.murphy@arm.com> Signed-off-by:
Johan Hovold <johan@kernel.org> Signed-off-by:
Joerg Roedel <joerg.roedel@amd.com>