diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2021-04-06 21:40:35 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-04-07 23:39:19 +0200 |
commit | c594b26ff78e2cb315101ade73155baf868158eb (patch) | |
tree | 49aade9927c8068f58fae10b0b41f7af14c095da /init | |
parent | vfio/mdev: Add mdev/mtype_get_type_group_id() (diff) | |
download | linux-c594b26ff78e2cb315101ade73155baf868158eb.tar.xz linux-c594b26ff78e2cb315101ade73155baf868158eb.zip |
vfio/mtty: Use mdev_get_type_group_id()
The type_group_id directly gives the single or dual port index, no
need for string searching.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Message-Id: <12-v2-d36939638fc6+d54-vfio2_jgg@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions