diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-07-27 09:27:34 +0200 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-08-05 21:21:50 +0200 |
commit | 7451a55af08d40fd6b28802f4e26a13264114430 (patch) | |
tree | 651ab1840943cc5974e577806b3ddbe60f52470b /drivers/pci/syscall.c | |
parent | x86 driver: fix typo in TDP override enabling (diff) | |
download | linux-7451a55af08d40fd6b28802f4e26a13264114430.tar.xz linux-7451a55af08d40fd6b28802f4e26a13264114430.zip |
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>
Diffstat (limited to 'drivers/pci/syscall.c')
0 files changed, 0 insertions, 0 deletions