Skip to content
Commit 28f8ddae authored by Simon Glass's avatar Simon Glass Committed by Carles Cufí
Browse files

drivers: sensor: bmi160: Use only one read/write function



At present there are three separate read functions and two write
functions. This makes it harder to provide an interface that can work
with either SPI or I2C.

Use bmi160_read() for all reads and create a new bmi160_write()
function for all writes.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 226cacbc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment