x86/amd-iommu: Cleanup attach/detach_device code
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 26 Nov 2009 13:49:59 +0000 (14:49 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 27 Nov 2009 13:20:35 +0000 (14:20 +0100)
This patch cleans up the attach_device and detach_device
paths and fixes reference counting while at it.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

No differences found