On Tue, 4 Aug 2020 16:56:22 +0300 Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote: > Use platform_get_resource() to fetch the memory resource > instead of open-coded variant. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > --- > drivers/vfio/platform/vfio_platform.c | 16 +++++----------- > 1 file changed, 5 insertions(+), 11 deletions(-) > Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>