summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/eeepc-laptop.c
diff options
context:
space:
mode:
authorMichał Kępień <kernel@kempniu.pl>2017-03-09 15:11:41 +0300
committerDarren Hart <dvhart@infradead.org>2017-03-15 08:58:04 +0300
commit815edfe7ad887323c6d261dce3a0589d49671d1e (patch)
tree81cddaf0cd937d617b74b88dde8523eeaf23c590 /drivers/platform/x86/eeepc-laptop.c
parent469b0170450e7cbb0230b22036622005906b878a (diff)
downloadlinux-815edfe7ad887323c6d261dce3a0589d49671d1e.tar.xz
platform/x86: dell-wmi: remove sparse_keymap_free() calls
As sparse_keymap_setup() now uses a managed memory allocation for the keymap copy it creates, the latter is freed automatically. Remove all calls to sparse_keymap_free(). As this reduces dell_wmi_input_destroy() to one line, replace all calls to that function with direct calls to input_unregister_device(). Signed-off-by: Michał Kępień <kernel@kempniu.pl> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/eeepc-laptop.c')
0 files changed, 0 insertions, 0 deletions