Input: make input_register_handler() return error codes
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
@ -695,8 +695,7 @@ static struct input_handler evdev_handler = {
|
||||
|
||||
static int __init evdev_init(void)
|
||||
{
|
||||
input_register_handler(&evdev_handler);
|
||||
return 0;
|
||||
return input_register_handler(&evdev_handler);
|
||||
}
|
||||
|
||||
static void __exit evdev_exit(void)
|
||||
|
Reference in New Issue
Block a user