input: tizen_detent: apply open/close to support enabled sysfs node 69/200569/1 accepted/tizen/unified/20190307.230952 submit/tizen/20190228.014846
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 27 Feb 2019 01:42:30 +0000 (10:42 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 27 Feb 2019 01:44:57 +0000 (10:44 +0900)
commit0ab5ab24d342df74ee6c05254c7524ef18632073
tree270777e8a257e611e49cc4a17fa0b94782657355
parent92c624bbcc160397fcd6127cdbece1f0f20a2b97
input: tizen_detent: apply open/close to support enabled sysfs node

To support input device enabled sysfs node functionality, apply
open/close operation as like TW3.

NOTE: the operation code is from drivers/input/misc/tizen_bezel.c
of profile/wearable/platform/kernel/linux-4.9-exynos9110 git tree.

Change-Id: I92e95658677556185626bd2ebf6014ef00b1dafb
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/input/misc/tizen_detent.c
include/linux/input/tizen_detent.h