platform/x86: fujitsu-laptop: make hotkey handling functions more similar
authorMichał Kępień <kernel@kempniu.pl>
Wed, 11 Jan 2017 08:59:33 +0000 (09:59 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Sat, 4 Feb 2017 01:47:19 +0000 (02:47 +0100)
commita28c7e93bf26f16948065dbbf4cbe3c457386f41
tree5441af6e907caa6e541a5c0f489f5b7334c8d464
parent29544f03e52b2a6670ae1f1331033feefa216536
platform/x86: fujitsu-laptop: make hotkey handling functions more similar

Make two minor tweaks to acpi_fujitsu_hotkey_press() to make it more
similar to acpi_fujitsu_hotkey_release():

  * call vdbg_printk() after reporting the input event,
  * return immediately when kfifo_in_locked() fails.

Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Acked-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/fujitsu-laptop.c