iio: accel: kxcjk1003: refactor ODR setting
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Sun, 17 Sep 2017 15:01:01 +0000 (17:01 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 9 Oct 2017 19:49:51 +0000 (20:49 +0100)
commit7469ac69db6476a3460b1363a7d31b42cdcc7a11
tree886286f247ebc35d75ee2c9f915f5980f0d36fcc
parent4febd9f184961031a42a65163d7cd049c563530f
iio: accel: kxcjk1003: refactor ODR setting

Refactor ODR/WUF setting code in preparation of KXTF9 support.

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