Input: add `SW_MACHINE_COVER`
authorMerlijn Wajer <merlijn@wizzup.org>
Tue, 30 Jun 2020 18:47:04 +0000 (11:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2020 08:19:50 +0000 (10:19 +0200)
commit7a485f9a4eb1c19cdc4abd38adb674e410495577
treef7470f015433be13f519c03d8029ef1899ced295
parente54e55c982789c638cff896ffce3a9ee5363a6c5
Input: add `SW_MACHINE_COVER`

[ Upstream commit c463bb2a8f8d7d97aa414bf7714fc77e9d3b10df ]

This event code represents the state of a removable cover of a device.
Value 0 means that the cover is open or removed, value 1 means that the
cover is closed.

Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Merlijn Wajer <merlijn@wizzup.org>
Link: https://lore.kernel.org/r/20200612125402.18393-2-merlijn@wizzup.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/mod_devicetable.h
include/uapi/linux/input-event-codes.h