drivers:hv: Make a function to free mmio regions through vmbus
authorJake Oshins <jakeo@microsoft.com>
Tue, 5 Apr 2016 17:22:51 +0000 (10:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 21:01:37 +0000 (14:01 -0700)
commit97fb77dc87582300fa3c141b63699f853576cab1
tree4a9aecf983c55b40e7412d8c09127cbcca5838b2
parente16dad6bfe1437aaee565f875a6713ca7ce81bdf
drivers:hv: Make a function to free mmio regions through vmbus

This patch introduces a function that reverses everything
done by vmbus_allocate_mmio().  Existing code just called
release_mem_region().  Future patches in this series
require a more complex sequence of actions, so this function
is introduced to wrap those actions.

Signed-off-by: Jake Oshins <jakeo@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/vmbus_drv.c
include/linux/hyperv.h