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

drivers: sensor: bmi160: Move SPI config to config



At present this driver only supports a single instance. It sets up some
of its config in the init routine. It is better to put config in
constant data so that multiple instances can be supported and RAM space
is minimised.

Update the driver accordingly.

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