vfio-ccw: Introduce new helper functions to free/destroy regions
authorFarhan Ali <alifm@linux.ibm.com>
Tue, 5 May 2020 12:27:38 +0000 (14:27 +0200)
committerCornelia Huck <cohuck@redhat.com>
Tue, 2 Jun 2020 11:14:08 +0000 (13:14 +0200)
commit9a44ce6c9b69e15c87c87ef1f1a6972837cff3db
tree65a0b630f8edd4088d397cf10e43d8177c4dab1a
parent430220b0bbcbaaaa03718111ff541ee8cd97c781
vfio-ccw: Introduce new helper functions to free/destroy regions

Consolidate some of the cleanup code for the regions, so that
as more are added we reduce code duplication.

Signed-off-by: Farhan Ali <alifm@linux.ibm.com>
Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20200505122745.53208-2-farman@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
drivers/s390/cio/vfio_ccw_drv.c