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