]> Gentwo Git Trees - linux/.git/commit
iio: adc: ad7944: drop bits_per_word hack
authorDavid Lechner <dlechner@baylibre.com>
Mon, 31 Mar 2025 19:29:54 +0000 (14:29 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Apr 2025 18:09:57 +0000 (19:09 +0100)
commitff2e2a5c524f414c2b9a5926835d871fb4291c06
tree8fed18a72d48fa436af4f80653a001ee321dbd5f
parent7a84e33afebd97b46b994c1d78d57ab88a180e9a
iio: adc: ad7944: drop bits_per_word hack

Remove setting bits_per_word in SPI xfers without data. The shortcoming
that this was working around was fixed in the SPI controller driver, so
it is no longer necessary. And we don't need this to be cargo-culted to
new drivers.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250331-iio-adc-ad7944-drop-bits_per_word-hack-v1-1-2b952e033340@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7944.c