staging: unisys: visorbus: add error handling to chipset_device_pause/resume
authorDavid Kershner <david.kershner@unisys.com>
Tue, 28 Mar 2017 13:34:54 +0000 (09:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2017 07:17:03 +0000 (09:17 +0200)
commitb4a8e6ae1744b775fd3656e6b83cbbdaa06fb73c
treecc6fb429583035f2852e54ee42736dcf7a66570e
parent15d9ce9d3797fdb9eb90fd229cdd51d906eeaaec
staging: unisys: visorbus: add error handling to chipset_device_pause/resume

If there is an error in chipset_device_pause/resume don't try to respond,
error out and let the calling functions respond to this error just like
any other error they encounter.

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
drivers/staging/unisys/visorbus/visorbus_private.h
drivers/staging/unisys/visorbus/visorchipset.c