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

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