x86/amd-iommu: Use get_device_id and check_device where appropriate
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 24 Nov 2009 16:19:23 +0000 (17:19 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 27 Nov 2009 13:20:29 +0000 (14:20 +0100)
The logic of these two functions is reimplemented (at least
in parts) in places in the code. This patch removes these
code duplications and uses the functions instead. As a side
effect it moves check_device() to the helper function code
section.

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

No differences found