diff options
author | Erik Arfvidson <erik.arfvidson@unisys.com> | 2016-05-13 23:17:17 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-07 22:58:16 -0700 |
commit | 2efffad3148838842ce4ddbcb719bd1d07905d0c (patch) | |
tree | acabc18a7177573ec4d63356341b12215377bdbb | |
parent | 403ecd636424f98fa08440c6d8d1d95d66d2ad10 (diff) |
staging: unisys: visorinput change -1 return value
This patch changes the vague -1 return value to -EINVAL
Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/unisys/visorinput/visorinput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/unisys/visorinput/visorinput.c b/drivers/staging/unisys/visorinput/visorinput.c index 12a3570780fc..d67cd76327c0 100644 --- a/drivers/staging/unisys/visorinput/visorinput.c +++ b/drivers/staging/unisys/visorinput/visorinput.c @@ -506,7 +506,7 @@ calc_button(int x) case 3: return BTN_RIGHT; default: - return -1; + return -EINVAL; } } |