From: Dmitry Torokhov Date: Mon, 5 Nov 2007 16:43:30 +0000 (-0500) Subject: ACPI: video - add missing input_free_device() X-Git-Tag: v2.6.24-rc4~107^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f51e83916a0a022d3d0ea39ae2f877c703032923;p=pandora-kernel.git 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 Acked-by: Zhang Rui Signed-off-by: Len Brown --- Reading git-diff-tree failed