Input: walkera0701 - use proper error codes
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 17 Dec 2012 06:38:45 +0000 (22:38 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 22 Jan 2013 01:31:58 +0000 (17:31 -0800)
commitea05ae071ed0f360c6002d7b5107e0dad724d511
tree0554f52c212011e863e885e217ced0e6fd45e874
parente0dba55eae4557461aba53ec38ad82372fff86d6
Input: walkera0701 - use proper error codes

We have been using -EBUSY where we should have used -EIO or -ENOMEM,
so let's fix that and also add some diagnostic messages.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/walkera0701.c