summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorMichał Kępień <kernel@kempniu.pl>2017-03-09 13:11:45 +0100
committerDarren Hart <dvhart@infradead.org>2017-03-14 22:58:07 -0700
commit7cb8aa8cafbe9ebc5ecd7ac6125264c958db48ad (patch)
tree7f3be816d9b64f2c5a3242697916c11a12be621d /net/lapb/lapb_subr.c
parentc973d4b578a46f8fb822bed2d3a0d3a752d02ecf (diff)
platform/x86: msi-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(). As this reduces msi_laptop_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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions