-
- Downloads
iommu/arm: Cleanup resources in case of probe error path
If device registration fails, remove sysfs attribute and if setting bus callbacks fails, unregister the device and cleanup the sysfs attribute. Signed-off-by:Amey Narkhede <ameynarkhede03@gmail.com> Link: https://lore.kernel.org/r/20210608164559.204023-1-ameynarkhede03@gmail.com Signed-off-by:
Will Deacon <will@kernel.org>
Showing
- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c 12 additions, 2 deletionsdrivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
- drivers/iommu/arm/arm-smmu/arm-smmu.c 12 additions, 3 deletionsdrivers/iommu/arm/arm-smmu/arm-smmu.c
- drivers/iommu/arm/arm-smmu/qcom_iommu.c 11 additions, 2 deletionsdrivers/iommu/arm/arm-smmu/qcom_iommu.c
Loading
Please register or sign in to comment