Skip to content

Commit 5b6bfe1

Browse files
dlechjic23
authored andcommitted
iio: pressure: ms5611_spi: remove bits_per_word = 8
Remove setting bits_per_word = 8 from the ms5611 driver. This is the default value for SPI transfers, so it is not necessary to explicitly set it. 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-13-341f85fcfe11@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 10918e7 commit 5b6bfe1

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/iio/pressure/ms5611_spi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ static int ms5611_spi_probe(struct spi_device *spi)
9292

9393
spi->mode = SPI_MODE_0;
9494
spi->max_speed_hz = min(spi->max_speed_hz, 20000000U);
95-
spi->bits_per_word = 8;
9695
ret = spi_setup(spi);
9796
if (ret < 0)
9897
return ret;

0 commit comments

Comments
 (0)