From: Axel Lin Date: Wed, 27 Jul 2011 07:27:34 +0000 (+0800) Subject: platform-drivers-x86: ideapad-laptop: add missing ideapad_input_exit in ideapad_acpi_... X-Git-Tag: v3.1-rc1~14^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7451a55af08d40fd6b28802f4e26a13264114430;p=pandora-kernel.git platform-drivers-x86: ideapad-laptop: add missing ideapad_input_exit in ideapad_acpi_add error path In the case of ideapad_backlight_init() failure, we need to free the resources allocated by ideapad_input_init(). Aslo drop __devexit annotation for ideapad_input_exit() because we also call it in ideapad_acpi_add() error path. Signed-off-by: Axel Lin Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed