commit | 50ff457d1b321d6392ade6bcc67877b8b4aeef89 | [log] [tgz] |
---|---|---|
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | Thu Aug 30 22:52:55 2018 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Sep 02 21:26:38 2018 +0100 |
tree | d5d11950fc5e8f2cf408d75ad5f5c05dbdaf18fa | |
parent | ff5059302642d349596a7ebc3282a978a78144bd [diff] |
iio: imu: st_lsm6dsx: add read_fifo callback to fifo_ops Remove static qualifier from st_lsm6dsx_read_fifo definition and introduce read_fifo function pointer in fifo_ops data structure in order to run the proper read_fifo routine since other compliant devices will use a different FIFO queueing scheme. Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>