Input: ct82710c - return proper error code for ct82c710_open
authorDavidlohr Bueso <dave@gnu.org>
Tue, 18 Jan 2011 04:48:18 +0000 (20:48 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 18 Jan 2011 04:49:22 +0000 (20:49 -0800)
commitb0f05aadf1516c166ba301b7a535bc9429ce1961
treef6c7db827f2a451b701f11bd4d1124f26fff9c56
parent81e78deafb21ba867eb244ab1117726c68d817f8
Input: ct82710c - return proper error code for ct82c710_open

If request_irq() fails we should return the proper error instead of -1.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/ct82c710.c