Dmitry Torokhov f51e83916a 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>
2007-11-14 11:53:35 -05:00
..
2007-10-10 01:00:45 -04:00
2007-08-11 15:47:42 -07:00
2007-09-27 15:50:23 -04:00
2007-08-11 22:10:04 -04:00
2007-10-25 16:38:02 -04:00
2007-07-22 00:54:24 -04:00
2007-09-27 15:50:23 -04:00