staging: unisys: visornic: add error handling for visorchannel_signalinsert/remove
authorDavid Kershner <david.kershner@unisys.com>
Tue, 28 Mar 2017 13:34:37 +0000 (09:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2017 07:17:02 +0000 (09:17 +0200)
commit03156571160803875e9a9a0a966bcd2100a7ec2b
tree9ac06ffbadd2b4a9617dd14b673a20dc0a9fa6d7
parent2833399edb5f0b0afee0a8f7a85c8bb88f8310bc
staging: unisys: visornic: add error handling for visorchannel_signalinsert/remove

Since signalinsert/remove now return valid error codes, we need to check
them when we call them in visornic. The error codes need to propagate out
to the calling functions.

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/visornic/visornic_main.c