commit | 7451a55af08d40fd6b28802f4e26a13264114430 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Wed Jul 27 15:27:34 2011 +0800 |
committer | Matthew Garrett <mjg@redhat.com> | Fri Aug 05 15:21:50 2011 -0400 |
tree | 651ab1840943cc5974e577806b3ddbe60f52470b | |
parent | 70fda70a724c737b0df4195763f9124d181fe64d [diff] |
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 <axel.lin@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>