diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-04-04 13:19:16 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-06-01 19:41:40 +0200 |
commit | 301f33fbcf4ced53b3de114846ecece5d6aafeeb (patch) | |
tree | 2907366f7a1d5612e89a6579a5e7a57a92cfe348 /drivers/video/sunxvr1000.c | |
parent | gma500: don't register the ACPI video bus (diff) | |
download | linux-301f33fbcf4ced53b3de114846ecece5d6aafeeb.tar.xz linux-301f33fbcf4ced53b3de114846ecece5d6aafeeb.zip |
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>
Diffstat (limited to 'drivers/video/sunxvr1000.c')
0 files changed, 0 insertions, 0 deletions