Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: dac: ad5761: remove bits_per_word = 8

Remove setting bits_per_word = 8 from the ad5761 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-4-341f85fcfe11@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

David Lechner and committed by
Jonathan Cameron
f92bb6b7 2fa33f87

-2
-2
drivers/iio/dac/ad5761.c
··· 137 137 struct spi_transfer xfers[] = { 138 138 { 139 139 .tx_buf = &st->data[0].d8[1], 140 - .bits_per_word = 8, 141 140 .len = 3, 142 141 .cs_change = true, 143 142 }, { 144 143 .tx_buf = &st->data[1].d8[1], 145 144 .rx_buf = &st->data[2].d8[1], 146 - .bits_per_word = 8, 147 145 .len = 3, 148 146 }, 149 147 };