x86/amd-iommu: Search for existind dev_data before allocting a new one

Search for existing dev_data first will allow to switch
dev_data->alias to just store dev_data instead of struct
device.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
This commit is contained in:
Joerg Roedel 2011-06-09 18:53:25 +02:00
commit 3b03bb745e