commit | c594b26ff78e2cb315101ade73155baf868158eb | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgg@nvidia.com> | Tue Apr 06 16:40:35 2021 -0300 |
committer | Alex Williamson <alex.williamson@redhat.com> | Wed Apr 07 15:39:19 2021 -0600 |
tree | 49aade9927c8068f58fae10b0b41f7af14c095da | |
parent | 15fcc44be0c7afa2945b1896a96ac2ddf09f1fa7 [diff] |
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>