platform/x86: msi-wmi: remove sparse_keymap_free() calls
authorMichał Kępień <kernel@kempniu.pl>
Thu, 9 Mar 2017 12:11:46 +0000 (13:11 +0100)
committerDarren Hart <dvhart@infradead.org>
Wed, 15 Mar 2017 05:58:08 +0000 (22:58 -0700)
commit0788e3375ae33c5a175ba3d394b995d4fdc823b5
treec68ae0b615295c1703133ea211f1acc81ecc1486
parent7cb8aa8cafbe9ebc5ecd7ac6125264c958db48ad
platform/x86: msi-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/msi-wmi.c