staging: unisys: visorbus: add error handling to initiate_chipset_device_pause_resume
authorDavid Kershner <david.kershner@unisys.com>
Tue, 28 Mar 2017 13:34:53 +0000 (09:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2017 07:17:03 +0000 (09:17 +0200)
commit15d9ce9d3797fdb9eb90fd229cdd51d906eeaaec
tree2608aa146166df1c01a226c4fd9cb29f83ea0398
parent293deb2c0ca4f541b1bed06c1f5dd25cdb60a2d8
staging: unisys: visorbus: add error handling to initiate_chipset_device_pause_resume

Clean up the function to remove some if statments that should be done
in the calling function.

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