iio: chemical: bme680_spi: remove bits_per_word = 8
authorDavid Lechner <dlechner@baylibre.com>
Mon, 5 May 2025 19:20:30 +0000 (14:20 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 21 May 2025 13:20:30 +0000 (14:20 +0100)
commit2fa33f8710f763108fab3cc04bed31c0b3aba232
treea584b3a857f1a7daea73db33e8d1a1746393e853
parent0115e17e9fded16017ffde8207252fc0f21ddf8d
iio: chemical: bme680_spi: remove bits_per_word = 8

Remove setting bits_per_word = 8 from the bme680 driver. This is the
default value for SPI transfers, so it is not necessary to explicitly
set it.

Since no other SPI settings are changed, we can also remove the call to
spi_setup().

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250505-iio-remove-bits_per_word-8-v1-3-341f85fcfe11@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/bme680_spi.c