commit | 301f33fbcf4ced53b3de114846ecece5d6aafeeb | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Apr 04 14:19:16 2012 +0300 |
committer | Len Brown <len.brown@intel.com> | Fri Jun 01 13:41:40 2012 -0400 |
tree | 2907366f7a1d5612e89a6579a5e7a57a92cfe348 | |
parent | 155689defc782b486a7e6776a57ecc4ebb37ed52 [diff] |
ACPI video: use after input_unregister_device() 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>