On Tue, Jun 22 2021, Luis Chamberlain <mcgrof@xxxxxxxxxx> wrote: > Use the new pci_dev_trylock() helper to simplify our locking. > > Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx> > --- > drivers/vfio/pci/vfio_pci.c | 11 ++++------- > 1 file changed, 4 insertions(+), 7 deletions(-) Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>