diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-07-06 05:05:20 +0200 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-08-05 20:46:10 +0200 |
commit | 94ee48b9287c5c22c90754a48dbcf80b2df99d5f (patch) | |
tree | 8f4c71e11c6a849f5a200e34e36e82e2b42180ae /drivers | |
parent | Samsung Laptop platform driver: support N510 (diff) | |
download | linux-94ee48b9287c5c22c90754a48dbcf80b2df99d5f.tar.xz linux-94ee48b9287c5c22c90754a48dbcf80b2df99d5f.zip |
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>
Diffstat (limited to 'drivers')
-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); |