diff options
author | Yi Liu <yi.l.liu@intel.com> | 2022-09-23 07:08:36 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-12-05 08:56:01 -0400 |
commit | 1334e47ee798ac4715330a6ade0afc929cd54aff (patch) | |
tree | c3a44aaa4e8943acd23cb53c6cb89875d09ddbf9 /drivers/leds/leds-ariel.c | |
parent | 5c8d3d93f6a7c9371212690b0195160e5f88bdff (diff) | |
download | linux-stable-1334e47ee798ac4715330a6ade0afc929cd54aff.tar.gz linux-stable-1334e47ee798ac4715330a6ade0afc929cd54aff.tar.bz2 linux-stable-1334e47ee798ac4715330a6ade0afc929cd54aff.zip |
vfio: Wrap vfio group module init/clean code into helpers
This wraps the init/clean code of vfio group global variable to be
helpers, and prepares for further moving vfio group specific code into
separate file.
As container is used by group, so vfio_container_init/cleanup() is moved
into vfio_group_init/cleanup().
Link: https://lore.kernel.org/r/20221201145535.589687-9-yi.l.liu@intel.com
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Tested-by: Lixiao Yang <lixiao.yang@intel.com>
Tested-by: Yu He <yu.he@intel.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/leds/leds-ariel.c')
0 files changed, 0 insertions, 0 deletions