Revert "gpio_keys: remove sec_debug_check_crash_key"

This reverts commit f19b6128a6ef339d3dad09227010ff173497a45f.
Revert "gpio_keys: switch to use a dedicated suspended variable for flip-cover"

This reverts commit 295be1cc7d97a5ce2926742a9076640bc5fd7657.
Revert "gpio_keys: add a semaphore"

This reverts commit c417eb23c33f96f48eb136af005e1bea2efb26d1.
Revert "gpio_keys: change msleep intervals"

This reverts commit a6dc16c4fb61a3f46e6613517960c7f5af6e46d8.
Revert "gpio_keys: fix whitespaces"

This reverts commit d3eec6734db3523fdedbc32e962b822632ef6213.
Revert "gpio_keys: fix typo during flip_powerkey registration"

This reverts commit f974ac0d2eeda1065a60e83cfd1abba30e5a0321.
Revert "gpio_keys: return early when flip_cover == gpio_flip_cover"

This reverts commit 50910f848c300f54a4e21b9d4c46823683e8d1d2.
Revert "gpio_keys: fix registration order"

This reverts commit f272f92fcf100c9e30b81ae26eff3c4c2f41caf5.
Revert "gpio_keys: force sync on KEY_POWER, KEY_HOME press"

This reverts commit 1b5f8d20a4fe1fb54cda5082121b71f32d650081.

Conflicts:
	drivers/input/keyboard/gpio_keys.c
Revert "gpio_keys: add flip cover wake/suspend event"

This reverts commit 644bb121a2f57451a915c6549c9624d60a55d407.
HLTE: Android expects SW_LID, not SW_FLIP.

Change-Id: I1f38f1aff1c5f410529ba788fa0980cced44b297