Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment