diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2007-11-05 11:43:30 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-11-14 11:53:35 -0500 |
commit | f51e83916a0a022d3d0ea39ae2f877c703032923 (patch) | |
tree | 0341762efa85726c476c32efa118a53097a9e04f /kernel | |
parent | 91c05c667b2d8e43e0bbc5f269bf45d4821001d6 (diff) |
ACPI: video - add missing input_free_device()
If input_register_device() fails input_free_device() must
be called to release memory allocated for the device.
Also consolidate error handling in acpi_bus_video_add()
and handle input_allocate_device() failures.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions