Skip to content

Commit 666eae6

Browse files
dlechjic23
authored andcommitted
iio: pressure: zpa2326_spi: remove bits_per_word = 8
Remove setting bits_per_word = 8 from the zpa2326 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-14-341f85fcfe11@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 5b6bfe1 commit 666eae6

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/iio/pressure/zpa2326_spi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ static int zpa2326_probe_spi(struct spi_device *spi)
4747
*/
4848
spi->mode = SPI_MODE_3;
4949
spi->max_speed_hz = min(spi->max_speed_hz, 1000000U);
50-
spi->bits_per_word = 8;
5150
err = spi_setup(spi);
5251
if (err < 0)
5352
return err;

0 commit comments

Comments
 (0)