Skip to content
Commit 5c2d0218 authored by Arvind Yadav's avatar Arvind Yadav Committed by Will Deacon
Browse files

iommu: arm-smmu: Handle return of iommu_device_register.



iommu_device_register returns an error code and, although it currently
never fails, we should check its return value anyway.

Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
[will: adjusted to follow arm-smmu.c]
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent ebdd13c9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment