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)
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

Simple merge