-
Dan Carpenter authored
We can't use "input" anymore after calling input_unregister_device(). The call to input_free_device() is a double free. The normal way to deal with this is to make input_register_device() the last function called in the function. Signed-off-by:
Dan Carpenter <dan.carpenter@oracle.com> Acked-by:
Dmitry Torokhov <dtor@mail.ru> Signed-off-by:
Len Brown <len.brown@intel.com>
301f33fb