hisi_acc_vfio_pci: Correct the function prefix for hssi_acc_drvdata()
authorShameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Wed, 31 Aug 2022 08:59:43 +0000 (09:59 +0100)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 1 Sep 2022 21:30:04 +0000 (15:30 -0600)
commit245898eb9275ce31942cff95d0bdc7412ad3d589
tree0c632c7af166e3521e45d844b68edb4645171e63
parent21c13829bc3b786bc5336470df023ae54e41d230
hisi_acc_vfio_pci: Correct the function prefix for hssi_acc_drvdata()

Commit 91be0bd6c6cf("vfio/pci: Have all VFIO PCI drivers store the
vfio_pci_core_device in drvdata") introduced a helper function to
retrieve the drvdata but used "hssi" instead of "hisi" for the
function prefix. Correct that and also while at it, moved the
function a bit down so that it's close to other hisi_ prefixed
functions.

No functional changes.

Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20220831085943.993-1-shameerali.kolothum.thodi@huawei.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c