sensor-hal: tm1: check "enable" attribute instead of "poll_delay" in TM1 91/130291/1 accepted/tizen/4.0/unified/20170816.020254 accepted/tizen/unified/20170522.182634 submit/tizen/20170521.142317 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522 tizen_4.0.m1_release
authorkibak.yoon <kibak.yoon@samsung.com>
Sun, 21 May 2017 09:11:13 +0000 (18:11 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Sun, 21 May 2017 09:11:13 +0000 (18:11 +0900)
commit7d56854e3d9dc56db6f2247d648ea6abfe28d046
tree43a20f1b0aa80e82057feb6f8ee51b7e5f8dbc5b
parenta4c128f2e4e321dfd80f6af5134101c393b271ab
sensor-hal: tm1: check "enable" attribute instead of "poll_delay" in TM1

Specially, input device driver of proximity sensor in tm1 doesn't have poll_delay
attribute(device node). other devices(tw1, emulator) don't have this
problem.

* only the sensor input devices have "enable" node as you can see the following.
sh-3.2# ls -al /sys/class/input/input*/enable
-rw-rw-r-- 1 sensor input 4096 Jul 26 04:49 /sys/class/input/input4/enable
-rw-rw-r-- 1 sensor input 4096 Jul 26 04:49 /sys/class/input/input5/enable

Change-Id: Ie11f89caf24203b8899987cfc9e42e2706d17f34
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
packaging/99-sensor.rules