staging: unisys: visorbus: Clean up vmcall address function.
authorDavid Kershner <david.kershner@unisys.com>
Wed, 30 Aug 2017 17:36:13 +0000 (13:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Aug 2017 16:17:38 +0000 (18:17 +0200)
commit800da5fb3f9770c27c5b24e5a7e265f5ea51e98e
tree7550cdde9d7c9cc0fd6776c04dcc8ac2ddc71a31
parent496c890249dd65705eb20cfb909f03c99a7cea72
staging: unisys: visorbus: Clean up vmcall address function.

The function vmcall address needed to be cleaned up. The structure
vmcall_controlvm_addr was not needed so it was removed and was replaced
with vmcall_io_controlvm_addr_params since it needs to be allocated on the
heap for DMA access.

With the structure removed and the fields as local variables, it helped
clean up the formatting of the function.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c