]> git.karo-electronics.de Git - karo-tx-linux.git/commit
platform/x86: toshiba_acpi: remove sparse_keymap_free() calls
authorMichał Kępień <kernel@kempniu.pl>
Thu, 9 Mar 2017 12:11:50 +0000 (13:11 +0100)
committerDarren Hart <dvhart@infradead.org>
Wed, 15 Mar 2017 05:58:11 +0000 (22:58 -0700)
commitdb8f95d0141926a673484d228cd4040f5b10972f
tree5033e171f1162ea08946e11f70661e0587d9c394
parentc6d973f474cfdc4d9f0f18b7f539c5cc7847188d
platform/x86: toshiba_acpi: 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().

Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c