mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-20 00:26:39 +08:00
eeepc-laptop: add missing sparse_keymap_free
Also remove legacy keymap which was not used since we use sparse_keymap. Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
parent
fb48aef7c3
commit
c9db3efee1
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user