projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb48aef
)
eeepc-laptop: add missing sparse_keymap_free
author
Corentin Chary
<corentincj@iksaif.net>
Sat, 10 Apr 2010 09:02:51 +0000
(11:02 +0200)
committer
Matthew Garrett
<mjg@redhat.com>
Fri, 23 Apr 2010 19:23:21 +0000
(15:23 -0400)
Also remove legacy keymap which was not used since
we use sparse_keymap.
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
drivers/platform/x86/eeepc-laptop.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/x86/eeepc-laptop.c
b/drivers/platform/x86/eeepc-laptop.c
index 54a015785ca8b5e7bee52c281c1e0cf556f55eab..0306174ba8758ed69a44c57c8e7dcef0a1c7802f 100644
(file)
--- a/
drivers/platform/x86/eeepc-laptop.c
+++ b/
drivers/platform/x86/eeepc-laptop.c
@@
-169,7
+169,6
@@
struct eeepc_laptop {
struct backlight_device *backlight_device;
struct input_dev *inputdev;
- struct key_entry *keymap;
struct rfkill *wlan_rfkill;
struct rfkill *bluetooth_rfkill;
@@
-1204,8
+1203,8
@@
static int eeepc_input_init(struct eeepc_laptop *eeepc)
static void eeepc_input_exit(struct eeepc_laptop *eeepc)
{
if (eeepc->inputdev) {
+ sparse_keymap_free(eeepc->inputdev);
input_unregister_device(eeepc->inputdev);
- kfree(eeepc->keymap);
}
}