diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-07-06 07:05:20 +0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-08-05 22:46:10 +0400 |
commit | 94ee48b9287c5c22c90754a48dbcf80b2df99d5f (patch) | |
tree | 8f4c71e11c6a849f5a200e34e36e82e2b42180ae | |
parent | 4e2441c046737d3fb452ae46f0e4b12e18cf440d (diff) | |
download | linux-94ee48b9287c5c22c90754a48dbcf80b2df99d5f.tar.xz |
platform-drivers-x86: msi-wmi: add missing sparse_keymap_free in msi_wmi_init error path
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
-rw-r--r-- | drivers/platform/x86/msi-wmi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/msi-wmi.c b/drivers/platform/x86/msi-wmi.c index c832e3356cd6..6f40bf202dc7 100644 --- a/drivers/platform/x86/msi-wmi.c +++ b/drivers/platform/x86/msi-wmi.c @@ -272,6 +272,7 @@ static int __init msi_wmi_init(void) err_free_backlight: backlight_device_unregister(backlight); err_free_input: + sparse_keymap_free(msi_wmi_input_dev); input_unregister_device(msi_wmi_input_dev); err_uninstall_notifier: wmi_remove_notify_handler(MSIWMI_EVENT_GUID); |