commit | 7359572e1a5d4280ad87b969b0d30be43ef4989a | [log] [tgz] |
---|---|---|
author | Will Deacon <will@kernel.org> | Thu Dec 19 12:03:50 2019 +0000 |
committer | Joerg Roedel <jroedel@suse.de> | Mon Dec 23 14:06:05 2019 +0100 |
tree | c7fd39a4fccb61e0e7c2b4e37c9889d54b70d567 | |
parent | 2852ad05e3e9c97bfd14f1f480ee45128424c143 [diff] |
iommu/arm-smmu: Unregister IOMMU and bus ops on device removal When removing the SMMU driver, we need to clear any state that we registered during probe. This includes our bus ops, sysfs entries and the IOMMU device registered for early firmware probing of masters. Signed-off-by: Will Deacon <will@kernel.org> Tested-by: John Garry <john.garry@huawei.com> # smmu v3 Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Joerg Roedel <jroedel@suse.de>