]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Input: serio - make serio_register_driver() return errors
authorDmitry Torokhov <dtor@insightbb.com>
Fri, 24 Nov 2006 04:34:49 +0000 (23:34 -0500)
committerDmitry Torokhov <dtor@insightbb.com>
Fri, 24 Nov 2006 04:34:49 +0000 (23:34 -0500)
commited7b1f6d6ea1054ea4fe293a7fd8015fc3803d93
treeeb4d4f4e0eb07e7ae923f654ea09297b437409cc
parent9d92fe17b652f5496c97bc83fdfe925f3182f602
Input: serio - make serio_register_driver() return errors

Perform actual driver registration right in serio_register_driver()
instead of offloading it to kseriod and return proper error code to
callers if driver registration fails.

Note that driver <-> port matching is still done by kseriod to
speed up boot process since probing for PS/2 mice and keyboards
is pretty slow.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/serio.c
include/linux/serio.h