From 7451a55af08d40fd6b28802f4e26a13264114430 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Wed, 27 Jul 2011 15:27:34 +0800 Subject: [PATCH] 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-format-patch failed