Input: wistron - do not crash if BIOS does not support interface
authorMiloslav Trmac <mitr@volny.cz>
Tue, 10 Jan 2006 06:59:07 +0000 (01:59 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Tue, 10 Jan 2006 06:59:07 +0000 (01:59 -0500)
commitc28c3583679c181a03910b6356228e99fcc27167
treee3c7db6f714a909511c52e4625d0f31ad513a5d0
parentebbac7dde2f5c6b4bd219573f840d4b3952e6220
Input: wistron - do not crash if BIOS does not support interface

offset can never be < 0 because it has type size_t.  The driver
currently oopses on insmod if BIOS does not support the interface,
instead of refusing to load.

Signed-off-by: Miloslav Trmac <mitr@volny.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/wistron_btns.c