projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e2441c
)
platform-drivers-x86: msi-wmi: add missing sparse_keymap_free in msi_wmi_init error...
author
Axel Lin
<axel.lin@gmail.com>
Wed, 6 Jul 2011 03:05:20 +0000
(11:05 +0800)
committer
Matthew Garrett
<mjg@redhat.com>
Fri, 5 Aug 2011 18:46:10 +0000
(14:46 -0400)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/msi-wmi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/x86/msi-wmi.c
b/drivers/platform/x86/msi-wmi.c
index c832e3356cd61f03036ad8802919285add489466..6f40bf202dc7cf9e6baa80a329a3ea1810fcb5ed 100644
(file)
--- 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);