Input: make input_register_handler() return error codes

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
Dmitry Torokhov
2006-09-14 01:32:39 -04:00
parent 68c2a1607c
commit 4263cf0fac
9 changed files with 34 additions and 22 deletions

View File

@@ -479,9 +479,7 @@ static struct input_handler tsdev_handler = {
static int __init tsdev_init(void)
{
input_register_handler(&tsdev_handler);
printk(KERN_INFO "ts: Compaq touchscreen protocol output\n");
return 0;
return input_register_handler(&tsdev_handler);
}
static void __exit tsdev_exit(void)