1
0
Fork 0

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>
hifive-unleashed-5.1
Erik Arfvidson 2016-05-13 23:17:17 -04:00 committed by Greg Kroah-Hartman
parent 403ecd6364
commit 2efffad314
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ calc_button(int x)
case 3:
return BTN_RIGHT;
default:
return -1;
return -EINVAL;
}
}