staging: unisys: visorbus: merging the visorbus_device_pause_response and visorbus_de...
authorSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Tue, 22 Aug 2017 17:27:04 +0000 (13:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Aug 2017 21:56:04 +0000 (14:56 -0700)
commit722e73d55feeb4e9ae5d2aef455f6e382c43095b
tree641c5b1fe1bfe7e4a9ecd8427c55b945a41788c2
parent76956aa7be7e85b7653adae2dad0a81b959c6247
staging: unisys: visorbus: merging the visorbus_device_pause_response and visorbus_device_resume_response functions into one.

The functions viosrbus_device_pause_response() and
viosrbus_device_resume_response() are functionally similar.
Merging these functions into a single function called
visorbus_device_changestate_response().

Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
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/visorbus_main.c
drivers/staging/unisys/visorbus/visorbus_private.h
drivers/staging/unisys/visorbus/visorchipset.c