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

iio: dac: ad5766: remove bits_per_word = 8

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

authored by

David Lechner and committed by
Jonathan Cameron
57e382e6 f92bb6b7

-2
-2
drivers/iio/dac/ad5766.c
··· 148 148 struct spi_transfer xfers[] = { 149 149 { 150 150 .tx_buf = &st->data[0].d32, 151 - .bits_per_word = 8, 152 151 .len = 3, 153 152 .cs_change = 1, 154 153 }, { 155 154 .tx_buf = &st->data[1].d32, 156 155 .rx_buf = &st->data[2].d32, 157 - .bits_per_word = 8, 158 156 .len = 3, 159 157 }, 160 158 };