iio: accel: kxcjk1013: extract report_motion_event() from interrupt handler
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Sun, 17 Sep 2017 15:01:02 +0000 (17:01 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 9 Oct 2017 19:49:58 +0000 (20:49 +0100)
commitd8408e98f5c62d5737ce149947202a21778ecb0d
tree25080ce2cf0f15a3fd72bbce4328e9d79a4a4625
parentf74e440c81a02d2e5aae41492298e79a2ace0e24
iio: accel: kxcjk1013: extract report_motion_event() from interrupt handler

Extract reporting of motion event direction from interrupt handler,
as it is not supported by KXTF9.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/kxcjk-1013.c