]> git.baikalelectronics.ru Git - kernel.git/commit
Input: cros_ec_keyb - remove check before calling pm_wakeup_event
authorRavi Chandra Sadineni <ravisadineni@chromium.org>
Tue, 12 Jun 2018 23:31:38 +0000 (16:31 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 12 Jun 2018 23:38:22 +0000 (16:38 -0700)
commit79cdd88715f409e079b3779e0fb13dd805eaf2cc
tree84f705be212fc3378ec9450c4df6155975618f47
parentb66ed111554b34b903bb4b34bd26c048c867a427
Input: cros_ec_keyb - remove check before calling pm_wakeup_event

Remove the unnecessary check before calling pm_wakeup_event. If the
device is not wake enabled, this call is no-op anyway.

Signed-off-by: Ravi Chandra Sadineni <ravisadineni@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/cros_ec_keyb.c