iommu: Clean up after a failed bus initialization
authorJoerg Roedel <jroedel@suse.de>
Thu, 28 May 2015 16:41:27 +0000 (18:41 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 5 Jun 2015 13:13:10 +0000 (15:13 +0200)
commit8da30142a21e2d7595510892a4c99cf294f7e6f1
tree0f1fa73de54a9165c9ae749bb829d3f9cbb302b5
parent19762d7095e6392b6ec56c363a6f29b2119488c2
iommu: Clean up after a failed bus initialization

Make sure we call the ->remove_device call-back on all
devices already initialized with ->add_device when the bus
initialization fails.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c