Commit 2efffad3 authored by Erik Arfvidson's avatar Erik Arfvidson Committed by Greg Kroah-Hartman

staging: unisys: visorinput change -1 return value

This patch changes the vague -1 return value to -EINVAL
Signed-off-by: default avatarErik Arfvidson <erik.arfvidson@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 403ecd63
...@@ -506,7 +506,7 @@ calc_button(int x) ...@@ -506,7 +506,7 @@ calc_button(int x)
case 3: case 3:
return BTN_RIGHT; return BTN_RIGHT;
default: default:
return -1; return -EINVAL;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment