Commit 98fc5a69 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

x86/amd-iommu: Use get_device_id and check_device where appropriate



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: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent 71c70984
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment