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)
commit925ffff2ea8b408428f2558074af92cf31325156
tree84f705be212fc3378ec9450c4df6155975618f47
parent27fff22168e014141c08d0f5f630fdbcae6043ef
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