staging: unisys: visornic: check for error instead of success
authorDavid Binder <david.binder@unisys.com>
Thu, 12 May 2016 13:14:48 +0000 (09:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 05:55:19 +0000 (22:55 -0700)
commit186896fdf0fd7d4617435986ed79f817eecd3c0f
tree7428907d32ae5c338581eefcb7b24e63185758f7
parentab2c3d75451819b4d28ec6dececd299ac03d39ec
staging: unisys: visornic: check for error instead of success

Changes the conditional logic to check for an error code instead
of a success code.

Signed-off-by: David Binder <david.binder@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visornic/visornic_main.c